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 Error Code 126  (Read 4242 times)

0 Members and 1 Guest are viewing this topic.

petersj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
ImageMagick Error Code 126
« on: May 27, 2004, 12:57:10 am »

Hi everyone,

I just tried ImageMagick and get the following error:
Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /srv/www/htdocs/web2/html/crew/gallery/include/picmgmt.inc.php on line 153
Error executing ImageMagick - Return value: 126
Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 133x100 'albums/Winterthur/DSC01884.JPG' 'albums/Winterthur/thumb_DSC01884.JPG'
The convert program said:

The first line gives a hint that php would be in Safe Mode !?, but isn't. The other topics of this board didn't gave me a hint. Can anyone help?

Thanks in advance!

Regards,

Joerg Peters
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: ImageMagick Error Code 126
« Reply #1 on: May 27, 2004, 11:36:21 am »

Do a search, for '126' and you will find several threads dealing with this, for example, http://forum.coppermine-gallery.net/index.php?topic=6412.0
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

petersj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: ImageMagick Error Code 126
« Reply #2 on: May 27, 2004, 12:01:56 pm »

Hi Casper,

I already looked through the other threads but didn't find any help. I'm root of the server and have already looked through php.ini and so on but didn't find a clue to solve the problem. The other threads don't handle this constelation or I was blind and didn't see the solution.

Regards,

Joerg Peters
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Re: ImageMagick Error Code 126
« Reply #3 on: May 28, 2004, 08:00:54 am »

Error code 126 is usually a permission or wrong path issue.  Make sure the path is correct and the convert utility is accessible by other users.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.