ZP refuses to work

I got the installation done and can get to the admin page.

But when I go to the zenphoto directory, it gives me:

"Zenphoto error: Album does not exist."

However, going to zenphoto/index.php gets the main gallery page. I can see my test gallery.

But.

When I click on the test gallery's thumbnail to go there, the URL displays the directory it's linked to as:

/zenphoto/albumname/

But all my albums are created like this, /zenphoto/albums/albumname when I make the albums using the admin page, and because of this I get a 404.

And even when I go to /zenphoto/albums/albumname/, an Apache-style directory/file listing is shown to me instead of the ZP interface.

Is there a way for me to fix this problem, or shall I have to *shudder* be forced to use 4images or Coppermine?

Thanks.

Comments

  • Fiddled around with the zp_config file a bit and now albums display when I click on them. Except the images/thumbs don't show up. Any ideas?

    PS: I still have to go to zenphoto/index.php for it to come out.
  • trisweb Administrator
    Read here for an explanation of how the mod_rewrite works -- the URLs don't translate to directories, don't expect them to. So it's not "because of this." ;-)

    http://www.zenphoto.org/support/topic.php?id=921&replies=8#post-4915

    In .htacess, do you have the correct value for RewriteBase? Check that.

    The /index.php is probably a problem with your host setup; ask them to add index.php as an "index file" or maybe you can do it yourself.

    Next step: Give us a link to your gallery please, it's much easier to see what's going on. Thanks.
  • trisweb Administrator
    FYI Also: I won't be back this weekend (Cal vs. U$C game, go Bears) so can someone else pick this up if mei needs more help? Thanks.
  • Thanks trisweb. I understand that the URLS are just prettified and don't translate to directories (I thought so at first) and I uncommented the last 2 lines in zp_config.

    My .htaccess file has something like this:

    RewriteBase /zp

    I don't know how to make index.php an index file (I'm not good with coding; always been more of the Photoshop type)...mind teaching me how?

    Link: http://meisse.ifastnet.com/zenphoto

    Again, thanks for the fast response!
  • [removed by Mei]
  • your RewriteBase should read /zenphoto and NOT /zp for starters.
Sign In or Register to comment.