Member
Member
precious   15-11-2006, 12:59
#1

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

Member
Member
precious   15-11-2006, 13:09
#2

Forbidden
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?

Member
Member
thinkdreams   15-11-2006, 15:35
#3

you might check the permissions on your htaccess file. it definitely sounds permission related, not your DB.

Member
Member
thinkdreams   15-11-2006, 15:36
#4

can you also remove the rotation functions, and try it without those?

Member
Member
precious   16-11-2006, 10:49
#5

i removed the rotation functions already, and my htaccess looks the same to me. i removed it, and it still does not function properly
i think i'll just install a fresh zenphoto gallery

Member
Member
precious   16-11-2006, 12:15
#6

omg.. i installed a fresh zenphoto gallery, yet it worked just like my old one
i'm desperate to get it back

http://shadesofblack.free1k.com/zenphoto - old gallery
http://shadesofblack.free1k.com/zp - new gallery

both dead

Member
Member
precious   17-11-2006, 17:03
#7

i tried chmod-ing the cache again, and here's what i got:

[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!

Member
Member
precious   17-11-2006, 17:10
#8

here are my error logs based on my cpanel:

[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

Member
Member
precious   17-11-2006, 17:15
#9

i;m not using modrewrite. and do i have to change my.htaccess in wordpress??

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.


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]

it's the same as my old .htaccess in site/zenphoto

Member
Member
precious   19-11-2006, 05:41
#10

somehow it worked again. i have no idea why!

Member
Member
precious   19-11-2006, 07:34
#11

oops, didn't work again. i'm getting sick of this

Junior Member
Junior Member
klouzal   28-03-2008, 17:44
#12

Hi ive got the same problem, but im hosted on win server, so i guess the problem can be in ch mode, you have to write to admin to change it. Was it helpfull?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.