Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Unable to access im.gif  (Read 8163 times)

0 Members and 1 Guest are viewing this topic.

lueckoff

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Unable to access im.gif
« 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Unable to access im.gif
« Reply #1 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.)
Logged

lueckoff

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Unable to access im.gif
« Reply #2 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!
Logged

Carsten

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
Re: Unable to access im.gif
« Reply #3 on: February 22, 2005, 06:11:24 pm »

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

aztbca

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Unable to access im.gif
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.