zenphoto forums » Installation Support

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

(12 posts)
  • Started 3 years ago by ThinkGallery
  • Latest reply from sbillard
  1. ThinkGallery

    Junior
    Joined: Aug '09
    Posts: 5

    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

    Posted 3 years ago #
  2. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,350

    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.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  3. ThinkGallery

    Junior
    Joined: Aug '09
    Posts: 5

    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.

    Posted 3 years ago #
  4. ThinkGallery

    Junior
    Joined: Aug '09
    Posts: 5

    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..

    Posted 3 years ago #
  5. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,350

    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.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  6. ThinkGallery

    Junior
    Joined: Aug '09
    Posts: 5

    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..

    Posted 3 years ago #
  7. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,767

    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.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  8. ThinkGallery

    Junior
    Joined: Aug '09
    Posts: 5

    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.

    Posted 3 years ago #
  9. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,767

    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.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  10. lcyc

    Apprentice
    Joined: Aug '09
    Posts: 2

    I'm having this same exact problem

    Posted 3 years ago #
  11. lcyc

    Apprentice
    Joined: Aug '09
    Posts: 2

    Also working locally on a mac (10.4.11 intel based) working on localhost to test the app...changing themes doesn't help me

    Posted 3 years ago #
  12. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,767

    Same exact analysis.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.