ZenphotoCMS Forum
ZP refuses to work - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: ZP refuses to work (/thread-896.html)



ZP refuses to work - mei - 17-11-2006

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.




ZP refuses to work - mei - 17-11-2006

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.




ZP refuses to work - trisweb - 17-11-2006

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.




ZP refuses to work - trisweb - 17-11-2006

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.




ZP refuses to work - mei - 18-11-2006

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!




ZP refuses to work - mei - 18-11-2006

[removed by Mei]




ZP refuses to work - Chilifrei64 - 18-11-2006

your RewriteBase should read /zenphoto and NOT /zp for starters.