Hi Guys,
Had GD issues with Zenphoto at www.taborlodge.ie - This clients Host company mentioned that this domain is hosted at an older server so they set up a new test area at www2.taborlodge.ie on a newer server. This resolved the GD issue, but more issues arose around - mod_rewrite and Htaccess.
The host company then sent me this email:
Hi Aidan,
It took a while to find this but eventually we traced it to something to do with mod_rewrite. I have removed the .htaccess file in the zenphoto folder and renamed it to htaccess so that it does not try to perform any rewrite actions and the page loads now. Some others had this issue too I think, from reading here:
== ( This is THIS thread ) ==
http://www.zenphoto.org/support/topic.php?id=1868
You might post a ticket with Zen and include a copy of the htaccess file and ask if there is an issue,
Thanks Anthony
Here is the content of that HTACCESS file mentioned in the email:
RewriteEngine On
RewriteBase /zenphoto
RewriteRule ^admin/?$ zp-core/admin.php [R,L]
RewriteRule ^search/?$ index.php?p=search [R,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [R,L]
RewriteRule index.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-_]+)/?$ index.php?p=$1 [L,QSA]
RewriteRule ^(.*)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.)/image/([^/\]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA]
RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
Any ideas?
Cheers
Aidan
www.netactivesolutions.net
Aidan, Zenphoto does not require .htaccess to run properly -- just go into the options and uncheck the mod_rewrite box and everything will work fine.
If you really want the rewritten-URLs then make sure your RewriteBase in .htaccess is set to the correct directory name... that's the only thing I can think of...
Edit: Looks like you've got it working. Open a new thread if you need more help. Thanks!