showing 500 internal server error...

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

  • 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?
  • you might check the permissions on your htaccess file. it definitely sounds permission related, not your DB.
  • can you also remove the rotation functions, and try it without those?
  • 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
  • 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
  • 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!
  • 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
  • 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.

    <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
  • somehow it worked again. i have no idea why! :D
  • oops, didn't work again. i'm getting sick of this
  • 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?
Sign In or Register to comment.