Unable to access im.gif Unable to access im.gif
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Unable to access im.gif

Started by lueckoff, March 17, 2004, 11:34:12 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

lueckoff

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.

Joachim Müller

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

lueckoff

The permission for all directories and subdirectories from coppermine are 777.

That is OK!
The Problem is any where else!

Carsten

I had the same problem. When I set "safe mode = off", it worked fine.

aztbca

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.