ImageMagick Error Code 126 ImageMagick Error Code 126
 

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

ImageMagick Error Code 126

Started by petersj, May 27, 2004, 12:57:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

petersj

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

Casper

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

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

moorey

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.