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: ImageMagick 'convert' program ... can't be executed by the script  (Read 5113 times)

0 Members and 1 Guest are viewing this topic.

Ascension

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

Hello,

I recently just got my webhost to install ImageMagick on my server, but I'm getting this error when I try to run the install.php file.

The installer found the ImageMagick 'convert' program in 'C:/ImageMagick/', however it can't be executed by the script.
You may consider using GD instead of ImageMagick.


I haven't planned on using GD since I've read that ImageMagick was better, plus GD isn't installed on the server.  What do I need to do to fix this error?

- A
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #1 on: March 20, 2005, 11:13:21 pm »

Your host needs to properly configure ImageMagick.  You don't have permission to read/execute the convert.exe file.

You should ask your enable GD while you're at it.  Since this is Windows, all they have to do is uncomment out extension=php_gd2.dll in php.ini.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Ascension

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #2 on: March 20, 2005, 11:28:33 pm »

Thanks kegobeer.   :)  I will point my webhost's technical support to this post.

- A
Logged

armann

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #3 on: March 20, 2005, 11:40:20 pm »

I have the same proplem.
I'm a IT person but I have never used imagemagick.
Could you please describe in detail how I can fix this proplem.
Many thanks.... :)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #4 on: March 20, 2005, 11:47:45 pm »

There are posts about this.  Search for imagemagick permission and look for gaugau or kegobeer as the poster.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

GregK

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #5 on: March 21, 2005, 10:47:46 am »

Note that it is possible to encounter this error even if you have permission to execute convert, though that is the most common cause.
Logged

Suffering

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #6 on: September 19, 2005, 04:53:07 am »

I have verified that my web server user has execute permissions in the directory which contains 'convert'.  What other possible causes are there for this error message:  "can't be executed by the script"?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #7 on: September 19, 2005, 12:51:14 pm »

When you say you verified the web user, do you mean you did a command line exec?  Have you tried making a small php file with the exec command (the same one used by Coppermine)?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Suffering

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: ImageMagick 'convert' program ... can't be executed by the script
« Reply #8 on: September 22, 2005, 05:09:06 am »

No I didn't try a command line exec.  I'm hosting my web-site on a windows xp pro host running IIS.  Just verified that the IUSR account settings are full control (read, write, exec) for files in the Image Magick folder where convert.exe exists.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.