Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

Gonepteryx on "error 500, incomplete headers (PHP 5.4 or 5.5)"

$
0
0

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!


Viewing all articles
Browse latest Browse all 2917

Trending Articles