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 127 - already saw in the forum and I not found soluttion  (Read 7444 times)

0 Members and 1 Guest are viewing this topic.

ale

  • Coppermine newbie
  • Offline Offline
  • Posts: 14

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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -

Is IM within the designated safe mode executables directory?
Logged
&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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

ale

  • Coppermine newbie
  • Offline Offline
  • Posts: 14

Yes , it this
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

have you been able to resolve this on your own?

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.068 seconds with 19 queries.