forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: sharpo on May 21, 2009, 11:55:51 pm

Title: [Solved]: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: sharpo on May 21, 2009, 11:55:51 pm
The problem one is /include/init.inc.php

I add the code as instructed and get the error, remove it & it works.

Tried it several times so I'm sure I have edited it correctly.
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: Zarzal on May 22, 2009, 12:21:29 am
I hate it but I have to say: me too :( What kind of information you need to dig into this? phpinfo?

after changing back the modification from .23 to .21 in init.inc.php all went smooth again.
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: Zarzal on May 22, 2009, 12:26:29 am
I read http://forum.coppermine-gallery.net/index.php/topic,59582.0.html but this dont help.
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: Joachim Müller on May 22, 2009, 08:02:39 am
Then don't apply the manual fix, but do as suggested and perform the full upgrade. Post a link to your gallery for a start and don't try to hijack the thread of others, but start a thread of your own in the future.
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: sharpo on May 22, 2009, 10:39:27 am
Just tried to set up a new Coppermine gallery, having just downloaded the 1.4.23 version.

I get as far as running install.php with all relevant information, it completes successfully, then I attempt to log in but get the same "Error 500 Internal Server Error" after a wait of about 20 seconds.

My host is 1&1.co.uk if that helps in any way.
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: Joachim Müller on May 22, 2009, 11:07:55 am
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: sharpo on May 22, 2009, 11:19:29 am
http://www.sharpos-world.co.uk/kc/

The above is still working, using 1.4.21 with the manual fixes for 1.4.22 and 2 of the manual fixes for 1.4.23. The one fix I had to remove was for include/init.php

The link below is for a fresh install. No images added, as I only downloaded 1.4.23 to try a fresh install.

http://www.sharpos-world.co.uk/cpg1423/
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: Joachim Müller on May 23, 2009, 05:04:59 pm
An internal server error is exactly what the name suggests: something unexpected happened that the server could not cope with. The reason can lie in your particular setup or a bug. It's impossible to tell just by looking at the error 500 page. Details can be found by looking into the server's logs. Do so if you can and supply the details if you can.
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: sharpo on May 23, 2009, 05:42:35 pm
This means nothing to me, but just checked on the logs for the 3 "error 500" messages when I attempted to access the "fresh install" of cpg at
http://www.sharpos-world.co.uk/cpg1423/

The logs show as:-

[23/May/2009:17:13:19 +0200] "GET /cpg1423/ HTTP/1.1" 200 645 www.sharpos-world.co.uk "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10" "-"
208.111.154.15 - -

[23/May/2009:17:13:34 +0200] "GET /cpg1423/ HTTP/1.1" 200 645 www.sharpos-world.co.uk "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10" "-"
208.111.154.15 - -

[23/May/2009:17:13:47 +0200] "GET /cpg1423/ HTTP/1.1" 200 645 www.sharpos-world.co.uk "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10" "-"
66.249.71.216 - -
Title: Re: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: sharpo on May 23, 2009, 08:03:51 pm
I've been looking at topics with similar problems & found this posting by Nibbler:-

http://forum.coppermine-gallery.net/index.php/topic,59612.msg294368.html#msg294368

Tried what he suggested & the problem appears to be solved, no Error 500 & I can log in.

Is this the answer to my problem? If so I will mark as "solved"
Title: Re: [Solved]: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: Joachim Müller on May 24, 2009, 10:00:39 am
Yes, use the suggestion by Nibbler
Title: Re: [Solved]: Error 500 Internal Server Error after 1.4.23 manual fix
Post by: sharpo on May 24, 2009, 10:31:01 am
Yes, use the suggestion by Nibbler
Thanks for the help.