I moved to a PHP5 server with LunarHost (great company BTW) but although it used to work on a PHP 4.4.4 server with the same company, I am having the following problems:
if accessing
http://www.quebecgt.com/zenphoto I get a message saying 'Zenphoto error: Album does not exist.'
if accessing
http://www.quebecgt.com/zenphoto/index.php? I get the test album I have created but no images appear
This is a clean install with 777 on cache and albums folders. I have tried with mod_rewrite On or Off and it does the same thing. Admin page works fine if you try to access
http://www.quebecgt.com/zenphoto/admin it will redirect to the proper path. Could it be a problem with GD ? How can I fix it if this is the case ?
BTW, I have left the default user/pass for the admin part so knock yourselves out before I change it !
Thanks all for your time,
Maxime.
Comments
GD:
Look at the output of
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
Is a GD section there?
http://www.zenphoto.org/support/topic.php?id=1077
Adding the line: RewriteRule index\.php$ index.php [L,QSA] did not solve the problem.
Changing mod_rewrite to false works but I do not know how to configure .htaccess for it to point to the right place... Also, I would preffer using the mod_rewrite method. Seems to work for admin, why not for the rest ?
My PHP info: http://www.quebecgt.com/index.php
GD Support enabled
GD Version bundled (2.0.28 compatible)
Any ideas ?
Thanks again !
1) Check `RewriteBase` line in .htaccess. It should look like:
`RewriteBase /zenphoto` for you.
2) Try overriding the WEBPATH variable at the bottom of `/zen/zp-config.php`. Delete the `//` in front of it and change it to `/zenphoto` as well.
Something wasn't detected right, seems that mod_rewrite messed with the php_self variable... I'll have to investigate more later.
I followed your instructions and now everything is working fine