Member
Member
beejay   2007-02-25, 17:07
#1

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.

Developer
Developer
trisweb   2007-02-25, 22:22
#2

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.

Member
Member
beejay   2007-04-09, 13:57
#3

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.

Member
Member
Chilifrei64   2007-04-09, 14:14
#4

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.

Member
Member
beejay   2007-04-09, 14:36
#5

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

Developer
Developer
trisweb   2007-04-09, 17:53
#6

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

Member
Member
beejay   2007-04-09, 18:46
#7

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

Developer
Developer
trisweb   2007-04-09, 21:18
#8

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.