I installed Zenphoto localhost. I can make most of it work, but some of the urls are wrong. The most obvious example is the admin link from the home page.
The home page is at http://localhost/zen/
The admin link at the bottom of the page resolves to http://localhost/zen/admin/ , to reach the admin page manually the url is http://localhost/zen/zen/admin.php, from there most things seem to operate well.
Quick fix here is in:
/template-functions.php line 184
But if your not using mod_rewrite more needs to happen.
The bug has been reported.
Can't get .htaccess to work for my life. 500 server errors. I'm trying to install in the root directory. RewriteBase should not need a value.
Do you have a breakdown of what permissions for directories should be.
current .htaccess looks like this:
RewriteEngine On
RewriteRule ^zen/(.)$ - [L]
RewriteRule ^tests/(.)$ - [L]
RewriteRule ^admin$ admin/ [R]
RewriteRule ^admin/?$ zen/admin.php [QSA,L]
RewriteRule ^admin/admin.css$ zen/admin.css [R,L]
RewriteRule ^admin/admin.js$ zen/admin.js [R,L]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [QSA,L]
RewriteRule ^([^/.]+)/?$ index.php?album=$1 [QSA,L]
RewriteRule ^([^/.]+)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [QSA,L]
RewriteRule ^([^/.]+)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zen/i.php?a=$1&i=$3&s=$2 [QSA,L]
RewriteRule ^([^/.]+)/image/([^/\]+)$ albums/$1/$2
RewriteRule ^([^/.]+)/([^/\]+)$ index.php?album=$1&image=$2 [QSA,L]
Nope, using Apache - server errors had to do with the way I'm using my Mac to handle .htaccess files, haven't quite figured out what yet. In any case, i have a site up and running at
RewriteBase /
works in .htaccess
And it looks like fun so far, Thanks
Went poking around after upload my first photo and creating my first gallery. Only made one attempt at the upload and everything seemed to work fine.
The database image table looked like this , the extra rows are persistent as you upload more images, and the admin page returns 4 photos in the gallery when there is only one.
If you don't want to use mod_rewrite, you will have to :
1- like already says :
/template-functions.php line 184
2- Search and replace all :
/admin/?
by /zen/admin.php?
in zen/admin.php