Incorrect path! Ignores "/albums/" in URL resulting in that nothing is found

Hi,

By some reason all files are mypage.com/zenphoto/album1 instead of mypage.com/zenphoto/albums/album1

Same with all pages, images and thumbs. Only page I can access is mypage.com/zenphoto. I'm running this on my Mac and it seems that php (with GD), apache and mysql are ok. Also when uploading via webinterface the files are stored under albums but still searched for in zenphoto-folder.

EDIT:Also when manually adding the "/albums/" in the URL i only get a index of the files located there, in other words Zenphoto hasn't even created a working album.

I get one warning on install that I have not found a way around.

Zenphoto core files [Some files are missing or their filemtimes seem out of variance]

Perhaps there was a problem with the upload. You should check the following files:
.htaccess
zp-core/zp-config.php.source

Comments

  • acrylian Administrator, Developer
    1. Absoutly correct. Please read: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#4
    2. You need to check if these files are there and if not upload them from the package. But since it generally seems to work this is probably just about the timestamp not matching and can be ignored.
  • Wonderful with fast replies.

    1. Aah, didn't find that when I was looking in the troubleshooting section. Also should this be the case if I write `RewriteEngine Off`? Because it's the same if I write `On` or `Off`..
    2. ok, then i'm fine.

    3. The thing is that I anyway cannot access any album or image! I know they are there. I've tried put it in the album folder on my ftp(localy), uploading via webinterface as zip and image. The images aren't even there in the ZenPhoto administration.
  • UPDATE

    Very odd, but true: when I changed from the default theme to one with larger thumbnails they do display!! When changing back they disappeared again. It seems the thumbnails works on the themes with larger thumnbails. Tested both on Safari 4 and Firefox.

    In which case I just get 404-error page (Not found) when pressing any link on the startpage. And the thumbs arn't shown in the Zenphoto administration regardless of with theme I've chosen..
  • acrylian Administrator, Developer
    1. I don't understand .If you turn modrewrite off a link to an album looks like `mypage.com/zenphoto/index.php?album=album1`
    3. It is most likely that your images are too big for your server to be processed. Please review the troubleshooting guide.
  • Hmm... wiered.

    1. Isn't "turning off modrewrite" the same as changing RewriteEngine in the .htaccess to Off? Because if it is there is no difference for me.

    3. I've chosen small images. Even tried with only one image on the hole server and that was aprox size 50x50 and not more than 50 kb..
  • No, turning mod_rewrite off is NOT the same as disabling the RewriteEngine in .htaccess. The former tells Zenphoto what kind of URLs to use. The latter disables the processing of Cruft friendly URLs. So if you turn off the RewriteEngine and leave the mod_rewrite option on you will get the 404 errors you note because the URLs will not be "rewritten" into the query form that is needed when there is no RewriteEngine.
  • Okey, I understand. Thank you.

    But for me turning on and off RewriteEngine in .htaccess doesn't change the result so there might be another problem aswell.

    I've checked that mod_rewrite is loaded.
  • Thumbs not showing in admin is definately not a mod_rewrite issue. The back end does not use mod_rewrite. That is more likely a memory limitation as discussed in the troubleshooting guide.
  • lcyc Member
    I'm having this same exact problem
  • lcyc Member
    Also working locally on a mac (10.4.11 intel based) working on localhost to test the app...changing themes doesn't help me
  • Same exact analysis.
Sign In or Register to comment.