Hello
Until now my Zenphoto Installation worked fine on PHP 5.3. Then my hosting provider did an update to PHP 5.4 and my Zenphoto Gallery stopped working. I got Error 500 at front- and backend.
***Don’t have time to read the whole post? See the quick info’s at the end of the post ***
Well. I did a fresh install for testing, using build 1.4.5.9 and PHP 5.4. Yet during installation I got lots of error 500 messages (in German „Die Anfrage kann nicht beantwortet werden, da im Server ein interner Fehler aufgetreten ist. Der Server ist entweder überlastet oder ein Fehler in einem CGI-Skript ist aufgetreten“ ).
In the server log I see at the same time the following error:
“FastCGI: incomplete headers (0 bytes) received from server "/var/run/hcgi/69472"
After a browser refresh, the next error appears:
“An attempt at cross site reference forgery has been blocked.”
So I started setup again by calling the direct link to setup.php. Then I got a fatal error:
“Fatal error: Cannot call overloaded function for non-object in /home/hueserc/www/zentest/zp-core/functions-basic.php on line 334”
Tried to reinstall, got some errors 500 again, with some browser-refreshings finally the installation finished and I could log into the admin tool. Every click brought error 500, after a browser refresh, the sites were shown (except plugin and themes).
Finally I switched back to PHP 5.3 and everything was ok.
I also tested the development build on PHP 5.4 with more or less the same results. Also tested with PHP 5.5 and the frontend seems working, but still producing these “FastCGI: incomplete headers” errors. At the backend there were errors 500 again, no way to use it.
Switching back to PHP 5.3 and everything is ok.
All these tests were made with Zenphoto “out of the box” with the standard theme and without 3rd party plugins.
At the moment the test site is again installed with the current build 1.4.5.9 and PHP 5.5. My hosting provider will switch off PHP 5.3 at the end of March. I really don’t know what else to check and how to resolve the problem.
*** Here the most important installation info’s ***
Zenphoto build 1.4.5.9
PHP 5.5
MySQL 5.5.31
Link to test site: zentest.hueser.ch
PHP-Info: zentest.hueser.ch/phpinfo.php
Any help is appreciated!
Comments
Maybe anybody could send me a phpinfo of a running installation on PHP 5.4 or 5.5? So I could compare with the configuration of my host's PHP installation. If you prefer to send it privatly, please use "mail -at- hueser -dot- ch. Thanks!
Any suggestions for a Swiss host working fine with Zenphoto are welcome!
http://foaa.de/old-blog/2010/11/php-apache-and-fastcgi-a-comprehensive-overview/trackback/index.html#the-timeout-problem
You could try the 1.4.6 dev build to see if that works better for you.
Hopefully some knows Swiss hosts, I could only recommend some German ones :-)
There are some hosts who offer 30 days free testing, I will test one of these. As my website will be working on PHP 5.3 until June there is not such a high priority for this.