PDA

View Full Version : Safe Mode bug??


karim
23rd of May 2004 (Sun), 01:28
Hi Pekka,

So far I've never had any trouble with uploading and automatic thumnail generation with imageMagick.

Today, I uploaded a few photos but the thumbnails do not appear. They're not generated. I checked everything:

chmod 777 all the relevant dirs
path for IM is correct

I get this error:

POSSIBLE REASONS:
SAFE MODE ON? EE can not use ImageMagick when is it located outside PHP safe mode exec dir.
IMAGE IS EMPTY? Perhaps source image was zero size.
IMAGEMAGICK PATH CHANGED? Maybe your server admin has moved IM to another location.
FOLDER PERMISSIONS WRONG? check that UPLOAD folder and all folders inside it are chmod 0777 (full permissions)

I haven't changed the "SAFE MODE" to on as I don't even know where to do that and what it is for.

Can you help?

Thanks a lot.

k.

PrimaPhoto
2nd of August 2004 (Mon), 14:32
Yes, I get the same thing how do you change this Safe Mode"


Mark

Pekka
3rd of August 2004 (Tue), 01:11
Safe mode is changed by system admin (in php.in globally or per virtual site).

If you get Imagemagick error, do the tests again and try rethumbnailer. It may be that server was too busy or system was being updated. If IM test runs ok the paths are really correct and permissions set.

who10
3rd of August 2004 (Tue), 11:07
You might want to check the directory permissions on the parent of each "relevant" directory... I had a similar issue the first time I ran ImageMagick on my server - in my case I had missed missed setting write permission on one folder in the path between EE root and one of the image directories.

PrimaPhoto
3rd of August 2004 (Tue), 15:47
Yes, it was a permission issue. I lost my thumbnail path but everything is working now.

Have a good summer!

Mark

Also I'm really enjoying my Canon G2 for infrared images.
http://www.primaveraphoto.com/photodbase/photo.php?photo=209&exhibition=1&u=197|3|...