coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: petersj on May 27, 2004, 12:57:10 AM

Title: ImageMagick Error Code 126
Post by: petersj 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
Title: Re: ImageMagick Error Code 126
Post by: Casper 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
Title: Re: ImageMagick Error Code 126
Post by: petersj 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
Title: Re: ImageMagick Error Code 126
Post by: moorey 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.