forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: lueckoff on March 17, 2004, 11:34:12 pm

Title: Unable to access im.gif
Post by: lueckoff on March 17, 2004, 11:34:12 pm
Hello,
if i try to install coppermine there are the following problems:

Warning: Unable to access albums/userpics/im.gif in /home/www/web3/html/pictures/install.php on line 87

Warning: getimagesize: Unable to open 'albums/userpics/im.gif' for reading. in /home/www/web3/html/pictures/install.php on line 87

Warning: unlink() failed (No such file or directory) in /home/www/web3/html/pictures/install.php on line 88



The installer found the ImageMagick 'convert' program in '/usr/local/bin/', however it can't be executed by the script.

Can someone help me???
Have someone the same problem?

Sorry, for my bad English.
I come from Germany and have slept in all my english-lessons.
Title: Unable to access im.gif
Post by: Joachim Müller on March 17, 2004, 11:44:50 pm
read the documentation that comes with coppermine: you'll have to set permissions (CHMOD) include and album folder appropriately. The script needs execute permissions on the convert executable (make sure it's there in the first place)...

GauGau

(As a sidenote: I think it's not cool to admit having been lazy at school - I wouldn't :roll: . As people often ask: no, you can't ask stuff in German here - at least not me; see the faq for details.)
Title: Unable to access im.gif
Post by: lueckoff on March 17, 2004, 11:59:33 pm
The permission for all directories and subdirectories from coppermine are 777.

That is OK!
The Problem is any where else!
Title: Re: Unable to access im.gif
Post by: Carsten on February 22, 2005, 06:11:24 pm
I had the same problem. When I set "safe mode = off", it worked fine.
Title: Re: Unable to access im.gif
Post by: aztbca on December 21, 2005, 04:30:49 am
If your server is running PHP in safe mode, which it is likely to be if you're using a (free) shared host, your scripts don't have the right to execute shell commands. As this script runs ImageMagick as a shell command, you won't be able to use it.

also, imagemagick needs to run exec() function in php pages, which is disabled by most virtual host servers.(php.ini - disable_functions)

You could
a. ask your hosting provider to disable safe mode or
b. use the GD library to generate your images.

ImageMagick is far more powerful than the GD library, but you can use the latter even in safe mode.