ZenPhoto/ZenShow corrupts sub-directories?

So...I've been having a rough day of it.

I installed zenphoto yesterday (Friday), and then installed hellfish's ZenShow wordpress Plug-in.

Since then, all sub-directories I have in my theme have been rendered inaccessible via the webserver. For instance, I have a seperate CSS directory in my theme directory, as well as a seperate images directory. When accessing these directories via FTP client or SSH, I can view the files fine. The permissions all seem ok, and I'm able to make changes and additions to said directories. When I try and access any files directly however via a web browser, no such luck.

This might be a ZenShow issue. This might be a ZenPhoto issue. It might be gremlins in my webserver. I don't know. I'm just at wits end, I have no idea what's going on. Any one with any ideas?

Thanks for hearing me out.

Comments

  • Sounds to me like a .htaccess file problem. I'm not sure why you'd get it though.

    I've done it myself on purpose. I've moved zenphoto's config.php into a separate directory and created a .htaccess file in that directory with the following directive:
    <Directory "/path.to.zen.folder/zen/config">
    Deny from all
    </Directory>

    What this will do is still let me access the file via FTP, but will restrict access to anyone trying to view that file via the web. (It's just an extra security measure in case the PHP parser on my server ever goes wako and decides not to parse PHP and display my db info and password and all.)

    I would look for a .htaccess file someone with code similar to what I've listed above.
  • I neglected to mention I've trashed everything associated with ZenPhoto trying to get this problem cleared up. I have no .htaccess within a Zenphoto directory anymore...
  • you were correct, I found a rogue .htaccess file floating around and I deleted it and had everything back.

    I re-isntalled zenphoto...and now there's no .htaccess file in the directory at all.

    Just weird.
  • I'm glad to be of help.

    =)
Sign In or Register to comment.