coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: cdawg on May 23, 2009, 01:57:51 AM

Title: [Solved]: 500 Internal Service Error
Post by: cdawg on May 23, 2009, 01:57:51 AM
http://levenrambin.com/gallery

ran the update and that came up fine, then when I went to the index page, it came up with the error.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

It's hosted at godaddy.
Apache/1.3.33 Server
Title: Re: 500 Internal Service Error
Post by: classic66coupe on May 23, 2009, 03:56:08 PM
Same here.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

hosted at Godaddy    1.4.22 worked fine.

http://www.stangdriver.com/photogallery/
Title: Re: 500 Internal Service Error
Post by: Nibbler on May 23, 2009, 04:00:03 PM
Do you know what version of PHP you are running on?
Title: Re: 500 Internal Service Error
Post by: classic66coupe on May 23, 2009, 04:07:42 PM
This fixed mine - http://forum.coppermine-gallery.net/index.php/topic,59582.msg294166.html#msg294166

PHP Version 4.3.11
Apache/1.3.33 Server

Would be nice if Godaddy update their software    :-\
Title: Re: 500 Internal Service Error
Post by: Nibbler on May 23, 2009, 06:21:25 PM
OK, I installed PHP 4.3.11 and had the same problem. I think the best fix is to change


$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger');


to


$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger', 'key');


Revert any other changes you may have made.
Title: Re: 500 Internal Service Error
Post by: cdawg on May 23, 2009, 07:29:57 PM
Thank you!  It worked
Title: Re: [Solved]: 500 Internal Service Error
Post by: Zarzal on May 23, 2009, 10:15:20 PM
Nibbler, your suggestion fix ym problem too. I run PHP Version 4.4.8

My Hoster now support 5.x and I will give it a try if I can find some time to test it
Title: Re: [Solved]: 500 Internal Service Error
Post by: FM86 on May 25, 2009, 07:16:13 PM
Sorry, I didn't get it: on which file should I made the fix suggested by Nibbler?
Or is it in the server configuration. In this case what can I do when I don't have direct access to the server configuration?
Title: Re: [Solved]: 500 Internal Service Error
Post by: François Keller on May 25, 2009, 07:33:36 PM
in the includes/init.inc.php file
Title: Re: [Solved]: 500 Internal Service Error
Post by: FM86 on May 25, 2009, 08:19:53 PM
Perfect! It solved also my problem! Thank you so much!
Title: Re: [Solved]: 500 Internal Service Error
Post by: synnix on June 01, 2009, 03:59:41 PM
im hving the same problem too ><
only difference is i didnot upgrade my gallery into anything.. it was working fine but then suddenly when i wanted to make another category it gave me this error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@synnix.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
WebServerX Server at synnix.net Port 80


PHP Version 5.2.9
i tried nibbler's method but it still didnot work
anyone can help me?  ???
Title: Re: [Solved]: 500 Internal Service Error
Post by: François Keller on June 01, 2009, 04:02:51 PM
Quoteonly difference is i didnot upgrade my gallery into anything
so, it's not the same problem.
Please open a new thread with your problem. Nibbler's fix is only for the upgarde and for a special php version.
Title: Re: [Solved]: 500 Internal Service Error
Post by: synnix on June 01, 2009, 04:04:53 PM
oh sorry i didnot know