[Solved]: Error 500 Internal Server Error after 1.4.23 manual fix [Solved]: Error 500 Internal Server Error after 1.4.23 manual fix
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Error 500 Internal Server Error after 1.4.23 manual fix

Started by sharpo, May 21, 2009, 11:55:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sharpo

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.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Zarzal

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.


Joachim Müller

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.

sharpo

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.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25


sharpo

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/
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Joachim Müller

Quote from: Joachim Müller on May 23, 2009, 05:03:57 PMAn 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.

sharpo

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 - -
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

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"
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Joachim Müller


sharpo

Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25