template-functions.php on line 7 error

Hello all,

I installed zenphoto, created an album with two pictures and when i tried to view it i got this message:

Warning: main() [function.main]: open_basedir restriction in effect. File(/classes.php) is not within the allowed path(s): (/home/web/snl58239:/var/tmp:/usr/local/lib/php) in /usr/home/web/snl5823X/zenphoto/zen/template-functions.php on line 7

Warning: main(classes.php) [function.main]: failed to open stream: Operation not permitted in /usr/home/web/snl5823X/zenphoto/zen/template-functions.php on line 7

Fatal error: main() [function.require]: Failed opening required 'classes.php' (include_path='.:') in /usr/home/web/snl5823X/zenphoto/zen/template-functions.php on line 7

Line 7 in the template-functions mentions classes. I got the feeling it has something to do with paths but i dont know where to find it
extra info my host runs php5.0.3


  • Maybe i should have changed the title of this post for an answer.

    But this is what is going on: Installed it. Run it, uploaded a couple of pictures and hit view gallery with the above errormessages as a result.

    it would be nice if there is an answer out there.
Sign In or Register to comment.