Error 500 on main index.php Call to undefined function zp_load_gallery()

I just installed ZenPhoto on my server.
The admin works ok, but if I try to access the main index.php, it errors with an HTTP 500 message. The logfile shows:
PHP Fatal error: Call to undefined function zp_load_gallery() in /var/www/gallery/public/zp-core/template-functions.php on line 13

For some reason the zp-core/template-functions.php cannot include the functions-controller.php

Any idea where to look for clues ?

Thanks in advance,

Max

Comments

  • You should look at your script error files. Perhaps also the server error logs. This error is not possible without some other error occurring. Perhaps there was an error trying to include the controller functions?
  • Hmmm this was the only error given.

    The thing was, I had APC running and this was the cause of the problem.
    After setting apc.include_once_override = 0 all worked as it should.

    Thanks and I hope this prevents someone else from rummaging around the system for too long ;)

    Max
Sign In or Register to comment.