ZenphotoCMS Forum
PHP version troubles with zenphoto? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: PHP version troubles with zenphoto? (/thread-921.html)



PHP version troubles with zenphoto? - evilpaperandrea - 2006-11-30

I remember reading something relating to this a week ago when my gallery suddenly stopped working, but I can't seem to find it now. Something about php version problems with PHP 5.2.0 and the gallery not showing up, which is what my host now has. Nothing shows up, no images and even my gallery pages go to an error page now. I tried updating zen versions, this only made things worse to be honest. How can I go about fixing this? Because i love this program and would hate to have to stop using it. Thanks




PHP version troubles with zenphoto? - trisweb - 2006-11-30

Looks like your RewriteBase is just wrong -- open up .htaccess in the /portfolio/ folder and change it to "/portfolio"




PHP version troubles with zenphoto? - evilpaperandrea - 2006-12-01

thanks, although my folders don't have anything in them now, so i'm still having some sort of problem even though the front page for the gallery is working.




PHP version troubles with zenphoto? - trisweb - 2006-12-01

From a look at your source, it's dying at this statement:

``

I will investigate now...




PHP version troubles with zenphoto? - trisweb - 2006-12-01

/zen/classes.php line 581 -- remove the @ symbol in front of array_search and see what error message you get when visiting an album.

Thanks!




PHP version troubles with zenphoto? - trisweb - 2006-12-01

If that does produce an error, to make it work, replace that line (classes.php line 581) with:

$this->index = 1;

Also, the next version, 1.0.4, due out this week or early next week fixes this bug.




PHP version troubles with zenphoto? - evilpaperandrea - 2006-12-01

Fatal error: Nesting level too deep - recursive dependency? in /home/deadleav/public_html/portfolio/zen/classes.php on line 581

not sure what that means.




PHP version troubles with zenphoto? - evilpaperandrea - 2006-12-01

ok, it works now, thanks so much for the help.