ImageMagick error 127 - already saw in the forum and I not found soluttion ImageMagick error 127 - already saw in the forum and I not found soluttion
 

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 127 - already saw in the forum and I not found soluttion

Started by ale, May 23, 2004, 07:43:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ale

It gives me the following mistake on having tried upload an image with ImageMagick and always give this mistake,It is all the same that it is gif,jpg,png,jpeg...etc : Here this one the mistake that me meets on the activated debug mode:

Error executing ImageMagick - Return value: 127


Cmd line :
/usr/local/........etc etc etc..../convert -quality 80 -antialias -geometry 145x100 'albums/userpics/gato.jpg' 'albums/userpics/thumb_gato.jpg'



The convert program said:



Fichero: /usr/local/.......etc etc etc...../db_input.php - Line: 289



Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /usr/local/.....etc etc etc ......../picmgmt.inc.php on line 138



I have searched in the forum to try to solve it and it(he,she) has not served anything me, this is what I have proved: (With GD image 2 it me works perfectly but with imagemaghick not)


- Are you using Windows server?<<<
The server is Linux
- Is the userpics folder's permission set to 777 just to test?<<<
the folders have got permissions 777-
If the file animated gif? <<<
The not this animated  and image  is relatively small 300* 200

-   I have changed the path of imagemagick as a user was commenting  / \


With GD image 2 it me works perfectly but with imagemagick not, here is Some information of the phpinfo:

imagick
ImageMagick support enabled
Magick Backend  ImageMagick 
ImageMagick version  5.5.7 
PHP imagick version  0.9.7 
MaxRGB  65535 
Supported image formats  8BIM, 8BIMTEXT, 8BIMWTEXT, APP1, APP1JPEG, ART, AVI, AVS, B, BIE, BMP, BMP2, BMP3, C, CACHE, CAPTION, CMYK, CMYKA, CUR, CUT, DCM, DCX, DIB, DPS, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXIF, FAX, FILE, FITS, FPX, FRACTAL, FTP, G, G3, GIF, GIF87, GRADIENT, GRANITE, GRAY, H, HISTOGRAM, HTM, HTML, HTTP, ICB, ICC, ICM, ICO, ICON, IMPLICIT, IPTC, IPTCTEXT, IPTCWTEXT, JBG, JBIG, JNG, JP2, JPC, JPEG, JPG, K, LABEL, LOGO, M, M2V, MAGICK, MAP, MAT, MATTE, MIFF, MNG, MONO, MPC, MPEG, MPG, MPR, MPRI, MSL, MTV, MVG, NETSCAPE, NULL, O, OTB, P7, PAL, PALM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PFA, PFB, PGM, PGX, PICON, PICT, PIX, PLASMA, PM, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSD, PTIF, PWP, R, RAS, RGB, RGBA, RLA, RLE, ROSE, SCT, SFW, SGI, SHTML, STEGANO, SUN, SVG, TEXT, TGA, TIF, TIFF, TILE, TIM, TTF, TXT, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WPG, X, XBM, XC, XCF, XMP, XPM, XV, XWD, Y, YUV 
Font Family - Name  AvantGarde - AvantGarde-Book 
Font Family - Name  AvantGarde - AvantGarde-BookOblique 
Font Family - Name  AvantGarde - AvantGarde-Demi 
Font Family - Name  AvantGarde - AvantGarde-DemiOblique 
Font Family - Name  Bookman - Bookman-Demi 
Font Family - Name  Bookman - Bookman-DemiItalic 
Font Family - Name  Bookman - Bookman-Light 
Font Family - Name  Bookman - Bookman-LightItalic 
Font Family - Name  Courier - Courier 
Font Family - Name  Courier - Courier-Bold 
Font Family - Name  Courier - Courier-Oblique 
Font Family - Name  Courier - Courier-BoldOblique 
Font Family - Name  Helvetica - Helvetica 
Font Family - Name  Helvetica - Helvetica-Bold 
Font Family - Name  Helvetica - Helvetica-Oblique 
Font Family - Name  Helvetica - Helvetica-BoldOblique 
Font Family - Name  Helvetica Narrow - Helvetica-Narrow 
Font Family - Name  Helvetica Narrow - Helvetica-Narrow-Oblique 
Font Family - Name  Helvetica Narrow - Helvetica-Narrow-Bold 
Font Family - Name  Helvetica Narrow - Helvetica-Narrow-BoldOblique 
Font Family - Name  NewCenturySchlbk - NewCenturySchlbk-Roman 
Font Family - Name  NewCenturySchlbk - NewCenturySchlbk-Italic 
Font Family - Name  NewCenturySchlbk - NewCenturySchlbk-Bold 
Font Family - Name  NewCenturySchlbk - NewCenturySchlbk-BoldItalic 
Font Family - Name  Palatino - Palatino-Roman 
Font Family - Name  Palatino - Palatino-Italic 
Font Family - Name  Palatino - Palatino-Bold 
Font Family - Name  Palatino - Palatino-BoldItalic 
Font Family - Name  Times - Times-Roman 
Font Family - Name  Times - Times-Bold 
Font Family - Name  Times - Times-Italic 
Font Family - Name  Times - Times-BoldItalic 
Font Family - Name  Symbol - Symbol 


mysql
MySQL Support enabled
Active Persistent Links  0 
Active Links  0 
Client API version  3.23.58 


PHP API  20020918 
PHP Extension  20020429 


Apache Version  Apache/1.3.27 Ben-SSL/1.48 (Unix) mod_throttle/3.1.2 Chili!Soft-ASP/3.6.2 mod_perl/1.29 PHP/4.3.4 FrontPage/5.0.2.2510 
Apache Release  10327100 
Apache API Version  19990320 


GD Support  enabled 
GD Version  2.0 or higher 
FreeType Support  enabled 
FreeType Linkage  with freetype 
JPG Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 


upload_max_filesize 10M



Thank you in advance

hyperion

&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)


Joachim Müller