coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: seb8iaan on February 12, 2009, 03:07:01 PM

Title: Error 500 after server upgrade PHP 4 to 5
Post by: seb8iaan on February 12, 2009, 03:07:01 PM
Today my hostingprovider had switched the server setting from:
Primary: PHP4, Secondary: PHP5, to Primary: PHP5
After this upgrade I'm no longer able to access CPG. I got error 500: Premature end of script headers: index.php
In which way can I change CPG to work with PHP5.
A new install is no option, because my gallery has over 8000 pictures, and don't want to lose them.
Title: Re: Error 500 after server upgrade PHP 4 to 5
Post by: Fabricio Ferrero on February 12, 2009, 03:32:01 PM
A link to your gallery?

Meanwhile, tell your webhosting fix the problem. Error 500 it's work of them to solve it. ;)
Title: Re: Error 500 after server upgrade PHP 4 to 5
Post by: seb8iaan on February 12, 2009, 03:36:13 PM
I contacted my webhosting provider, they are rollingback this change.
But I need to prevent this problem for the future, so I'm looking for other solutions.
It's likely that somewhere in the future PHP5 will be the only version on the server.

http://foto.svanputten.nl/index.php (http://foto.svanputten.nl/index.php)
without index.php you'll get a temporary "work in progress" page ;-)
Title: Re: Error 500 after server upgrade PHP 4 to 5
Post by: Fabricio Ferrero on February 12, 2009, 03:44:29 PM
QuoteBut I need to prevent this problem for the future,
Tell your hosting to apply changes in the correct way. :)

Coppermine works under PHP 5  just perfect!
Title: Re: Error 500 after server upgrade PHP 4 to 5
Post by: seb8iaan on February 12, 2009, 03:51:01 PM
Even when the php version changes, in this case from version 4 to 5?
CPG doesn't look what version of PHP is running while installing, and make configuration changes to work? In that case it can be a problem to migrate.
Title: Re: Error 500 after server upgrade PHP 4 to 5
Post by: phill104 on February 12, 2009, 05:28:32 PM
You need to upgrade now before any further support can be given.

<!--Coppermine Photo Gallery 1.4.14 (stable)-->

The current version is 1.4.20.
Title: Re: Error 500 after server upgrade PHP 4 to 5
Post by: Hein Traag on February 12, 2009, 06:39:29 PM
Quote from: Phill Luckhurst on February 12, 2009, 05:28:32 PM
You need to upgrade now before any further support can be given.

<!--Coppermine Photo Gallery 1.4.14 (stable)-->

The current version is 1.4.20.

Even when you upgrade to 1.4.20 you still need to replace the "Powered by coppermine" tag in order to recieve any support at all. Having that tag is mandatory and not an option.
Title: Re: Error 500 after server upgrade PHP 4 to 5
Post by: Joachim Müller on February 17, 2009, 12:38:10 PM
As Hein suggested: restore the "Powered by Coppermine" tag. If you don't, you'll be liable for license fraud.