ZenphotoCMS Forum
Zenphoto 1.1.2 - 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: Zenphoto 1.1.2 (/thread-1765.html)

Pages: 1 2


Zenphoto 1.1.2 - Claudia - 10-11-2007

sbillard:
It works with my gallery now, I did have a mistake in my htaccess file, was just a bit slow to realize I had pointed the subdomain directly to the zenphoto folder ... Thanks anyway for your help.




Zenphoto 1.1.2 - sbillard - 11-11-2007

Claudia:

Glad to know things are straightened out.




Zenphoto 1.1.2 - Alenonimo - 14-11-2007

Oba! I can't wait to test this thing!




Zenphoto 1.1.2 - 3stripe - 16-11-2007

congratulations on the new version. it's very very nice.




Zenphoto 1.1.2 - trisweb - 17-11-2007

FYI to all -- hits say we've had 3,500 downloads of Zenphoto 1.1+ since its release. Congratulations!




Zenphoto 1.1.2 - aitf311 - 18-11-2007

Not too bad for 2 weeks!




Zenphoto 1.1.2 - aidanodr - 11-12-2007

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.


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]

Any ideas?

Cheers
Aidan
www.netactivesolutions.net




Zenphoto 1.1.2 - trisweb - 13-12-2007

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!