Missing /albums/

Hi!

Just installed zenphoto 1.0.3 and all went well except for a small glitch.....I can't see the photos?

I get this error in the apache error_log:
File does not exist: "/srv/www/htdocs/zenphoto/maja, referer: <Myserver>/zenphoto/"

the folder maja is located under "/srv/www/htdocs/zenphoto/albums/maja"

Any ideas?

Comments

  • Just discovered that rewrite wasn't enabled on my server!

    Still didn't work with rewrite after I enabled it though. :-(
  • do you have a link to the gallery so we can better troubleshoot the problem?
  • Here's the link

    http://claesson.homeip.net/zenphoto/

    Works great with rewrite turned off.
  • Finally found the error!!

    Had to change the apache configuration.
  • PsyDuck - Can you explain how, I have the same problem - .htaccess looks setup correctly

    LoadModule rewrite_module modules/mod_rewrite.so in \xampp\apache\conf\httpd.conf

    has the # removed.

    Gallery works fine if modrewrite is set to false but when set to true no images display, however with the stopdesign theme if I view it the gallery with rewrite off and the images get cached then when I turn it on they display, but links to albums don't.

    http://fatalcure.org/Photos/

    Thanks in advaced.

    Dave.
  • As far as I understood it you have to enable symlinks for the Directory in order to get mod_rewrite to work
    I added
    "Options FollowSymLinks"
    to my Directory configuration.
    Make sure that you don't have any
    "AllowOverride None" set somewhere for that Directory.
  • Hmm seems to half work..

    Added:

    <Directory "E:\Server\xampp\htdocs\Photos">
    Options Indexes FollowSymLinks
    </Directory>

    Now, http://www.fatalcure.org/photos/ comes up with:

    Zenphoto error: Album does not exist.

    However, links to my galleries now work, ie http://www.fatalcure.org/photos/rave
    http://www.fatalcure.org/photos/sandsculptures

    Any ideas?
  • I'm also getting this in the error logs:

    [Sat Jun 03 08:05:24 2006] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.

    [Sat Jun 03 08:05:24 2006] [warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
  • Ok, just realised that

    http://www.fatalcure.org/photos/index.php

    actually works, but /photos comes up with that
    Zenphoto error: Album does not exist.
    error,
  • Ok, something else that might help, damn I am making alot of posts in this thread, previous version still works

    http://fatalcure.org/gallery/

    but since the upgrade it comes up with the error I mentioned above, I might just stick with the previous version for now.
  • trisweb Administrator
    Or turn off mod_rewrite -- it seems like your mod_rewrite version may be bad because of those log errors.
  • Can I upgrade the mod_rewrite modules from somewhere?
  • What version of apache are you running?
  • Apache 2.2.0
  • I had the same error

    Zenphoto error: Album does not exist.

    using xampp and noticed that the url was being rewritten to

    index.php?album=index.php

    which is probably a configuration problem somewhere and the quick fix for me was to just do this:
    `

    # new fix for index.php passed as a param

    RewriteRule index\.php$ index.php [L,QSA]

    # put above this line

    RewriteRule ^([^/]+)/?$ index.php?album=$1 [L,QSA]

    `

    If anyone knows where the root problem of this might be I would appreciate it but for now I hope this helps others. I imagine it's one of the settings from the httpd.conf.
  • Yep, that fix worked for me too, thanks for the email Alex.
  • thanks pipedarkfire - fixed my install.
Sign In or Register to comment.