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:
# htaccess file for zenphoto
# NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.
<IfModule mod_rewrite.c>
RewriteEngine On
#### !!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!
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]
#### !!! If you install the zen core in a folder other than 'zp-core' you must change the following lines
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]
####
# Catch-all - everything else gets handled in PHP for compatibility.
RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
</IfModule>
Any ideas?
Cheers
Aidan
www.netactivesolutions.net