Themes can't find root directory!

Hello! I'm a Dreamhost user, so when I installed ZenPhoto I removed the scripts folder (/zenphoto) from the RewriteBase absolute path , ran set up, and re-added the scripts folder, yada, yada, yada.

The backend (aka, the administrator panel) works fine... but the user end does not! For some reason it can't find the script root file (/zenphoto) so the css & etc. don't work! Help!!

My gallery: http://dubious.nu/zenphoto/

Comments

  • I'm also on Dreamhost, and installed the same way, and seem to be having this same problem.

    My gallery:

    http://purplepapaya.net/gallery
  • trisweb Administrator
    Frankly, those look like two completely different problems.

    The first one (Jacky) is most definitely not a problem with Zenphoto. If it can't find the index.php in the root directory, then it's a server config thing... you might have messed up your .htaccess in doing that change, so try re-installing. If you already ran setup you shouldn't need to again.

    For purplepapaya (and Jacky if you're seeing the same thing as his/her site) there's a couple lines at the bottom of config.php that let you override either the web path or the server path. Uncomment the WEBPATH line and make it `/gallery` for you.

    Also, you're both using the latest version, right? We're trying to get this dreamhost stuff fixed, so any info about what you do to fix it would be great. Thanks.
  • Hi trisweb, thank you so much for your help. Here's an update.

    A while back, I realized that I needed to install zp in a subdomain so I could use PHP5 (my regular domain uses PHP4). Last night I accidently gave you the older, PHP4 address. So the guaranteed real address to my gallery is this:

    http://gallery.purplepapaya.net

    So I'm on Dreamhost, PHP5, fresh DB and everything. I dropped all tables and re-uploaded and installed this morning. Here are the installation steps I used:

    -re-download the latest version
    -upload everything
    -edit config.php with this post in mind:
    http://www.zenphoto.org/support/topic.php?id=316
    -run setup.php
    -as before, everything is okay exept no theme/css information is used.
    -redefined WEBPATH and made it `/`.
    -and sadly the problem remains.

    Please let me know if there is any other information I can provide to be helpful. Thank you again, so much. And I am a she (Sara) :).
  • Oh golly, I just fixed it. Had a hunch. I took out the slash in WEBPATH, so it is now just:
    `

    define('WEBPATH', '');`.

    So your fix did work! Thank you again!
Sign In or Register to comment.