zenphoto forums » Installation Support

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

(3 posts)
  1. mwesten

    Apprentice
    Joined: Feb '12
    Posts: 2

    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

    Posted 1 year ago #
  2. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,770

    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?

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  3. mwesten

    Apprentice
    Joined: Feb '12
    Posts: 2

    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

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.