No images or thumbs showing - tried 3 diff servers none works!

Hi,

There MUST be something wrong with 1.0.7 version, there must be some code that is missing or something.

I've installed zenphoto on three different servers now and none of them seem to work.

The latest one im using is with safe_mode off and gd installed.
http://home.vizi.se/~beejay/

Ok, so after i've installed & setup everything, i try to upload images. It works - but then it doesn't show any thumbs or regular images. All paths are wrong, the pictures should be in /albums/ as they are on the server after being uploaded - but the script links each gallery to /name-of-gallery/ without the /albums/ before. Ive tried to disable .htaccess rewrite but that didn't do the trick either. What could be wrong? Has anyone got the 1.0.7 pure installation to work? Please help me fix this as a really like the script as far i've used it.

Ive chmodded the albums & cache dir without any result.

Comments

  • trisweb Administrator
    First, most EVERYONE has "got the 1.0.7 pure installation to work" so I promise there's not THAT much wrong with it.

    Second, the paths in the URL are NOT "wrong" and they are NOT the paths same as the folders. They are simply script arguments that happen to match the folder names formatted with mod_rewrite.

    Third, give us a link to your gallery (or galleries). We will tell you how to fix them.
  • Tris, sorry for my late reply, i got tired of all problems and now when there was a new version out i hoped it would solve my problem. But still, it wont! No images are created/uploaded in the cache/albums directories, both chmod 777. My url is http://tjuvlyssna.se/zenphoto with admin and default password.. Feel free to play around for a solution.
  • Couple questions

    first try and turn modrewrite of first, I know you said you did that already but to take it down to bare minimums lets try that..

    Also, can you put up a phpinfo() onto your site somewhere so we can look at your server configuration.
  • Hey, ok, i will fix that now. I just noticed that when i upload pictures via ftp or webshell into correct folder, i get thumbs & full images. So basiclly it seems like it is just a problem with upload from web, something wrong with cache dir? I read something about something you could add to the top that solved stuff with cache but maybe it only was for 1.0.7 ?

    http://tjuvlyssna.se/phpinfo.php
  • trisweb Administrator
    beejay -- you have safe_mode enabled on your server -- read about it here:
    http://www.zenphoto.org/trac/wiki/ZenphotoFAQ#DoesZenphotoworkwithPHPSafeMode

    As you've discovered, uploading doesn't work with safe mode on. Unfortunately there's nothing we can do about that, you'll have to upload using FTP (which I like better anyway), tell your host to turn off PHP safe_mode, or move to a new host without safe_mode on if they won't.

    Safe mode is a very bad thing, and we don't like it. That said, zenphoto used to not work at all with it on, but now at least works normally but without uploading capability. I should put a warning on the upload page about safe_mode...
  • Ok, thank you for that answer. I think it sounds like a good idea to put a note about it.

    Ive searched for hosts without safe mode on in sweden but almost every has it on, if anyone can suggest any other hosts that is good, please tell me.

    Thanks,
    beejay
  • trisweb Administrator
    Not sure of any hosts in Sweden, but try asking your host if they would turn it off, and tell them of the myths and misconceptions.

    If they won't turn it off, then ask them to at least turn safe_mode_gid on, which may solve the problem.

    Here's more debate if you're interested:
    http://forums.digitalpoint.com/showthread.php?t=916
Sign In or Register to comment.