i've got zenphoto up and running for a while now, even integrated it with my foliagemod theme in wordpress. but due to my useless urge to tinker, i tried rotate.php from
http://photomatt.net. i added rotate.php to several of my albums, and called the script from the index.php of my wordpress theme and viola, i had a random photos part in the frontpage of my blog. it worked lovely. however, when i browsed through my zenphoto, i noticed that it wasn't functioning normally anymore. when i click on an album, it shows thumbnails, and then the thumbnails would disappear, replaced by the "alt" text link. the photos just wont show. i tried deleting my cache and my albums, and reuploaded everything. but it did not work. every now and then, a 500 internal server error message would show up. all my albums and my cache were in chmod 777. i have no idea whta the problem is. please help! and someone please kill me for ruining my gallery. lol
Comments
You don't have permission to access /zenphoto/index.php on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.shadesofblack.free1k.com Port 80
oh, and this is the one that shows up..
has this got to do with mysql?
i think i'll just install a fresh zenphoto gallery
i'm desperate to get it back
http://shadesofblack.free1k.com/zenphoto - old gallery
http://shadesofblack.free1k.com/zp - new gallery
both dead
[00:10:50] 257 "/www/zenphoto/cache" is your current location
[00:10:50] PASV
[00:10:50] 227 Entering Passive Mode (75,126,45,216,129,100)
[00:10:50] Opening data connection to 75.126.45.216 Port: 33124
[00:10:50] MLSD
[00:10:51] 150 Accepted data connection
[00:10:51] 226-Options: -a -l
[00:10:51] 226 92 matches total
[00:10:51] 13322 bytes transferred. (13.9 KB/s) (931 ms)
[00:10:51] SITE CHMOD 777 hong kong_hongkong01.jpg_100_cw85_ch85.jpg
[00:10:52] 550 Could not change perms on hong kong_hongkong01.jpg_100_cw85_ch85.jpg: Bad file descriptor
i'm using smrtftp, the beta version. the bad descriptor thing happened only after i used the rotator function. any ideas why this happen? thanks!
[Fri Nov 17 07:58:41 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/zen/admin.php
[Fri Nov 17 07:58:34 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/zen/i.php
[Fri Nov 17 07:58:34 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/zen/i.php
[Fri Nov 17 07:58:34 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/cache/vanity_vanity20.jpg_100_cw85_ch85.jpg
[Fri Nov 17 07:58:34 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/zen/i.php
[Fri Nov 17 07:58:33 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/cache/vanity_vanity18.jpg_100_cw85_ch85.jpg
[Fri Nov 17 07:58:33 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/zen/i.php
[Fri Nov 17 07:58:33 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zenphoto/zen/i.php
[Fri Nov 17 07:55:49 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zp/cache/stolen shots_love14.jpg_100_cw85_ch85.jpg
[Fri Nov 17 07:55:48 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zp/cache/stolen shots_love12.jpg_100_cw85_ch85.jpg
[Fri Nov 17 07:55:48 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zp/zen/i.php
[Fri Nov 17 07:55:48 2006] [error] [client 125.212.121.236] client denied by server configuration: /home/preckie/public_html/zp/zen/i.php
here's my .htaccess in zp, the new album i installed:
# 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.example.com/photos --> /photos) !!!
RewriteBase /zp
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule ^.*$ - [R,L]
RewriteRule ^admin/?$ zen/admin.php [R,L]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^([^/]+)/?$ index.php?album=$1 [L,QSA]
RewriteRule ^([^/]+)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^([^/]+)/image/(thumb|[0-9]{1,4})/([^/\\]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^([^/]+)/image/([^/\\]+)$ albums/$1/$2 [L]
RewriteRule ^([^/]+)/([^/\\]+)$ index.php?album=$1&image=$2 [L,QSA]
</IfModule>
it's the same as my old .htaccess in site/zenphoto