Page 1 of 1
Imagick Error
Posted: 2011-06-01T10:10:16-07:00
by raindance
Hi
We just changed servers and on our old server, our script using ImageMagick worked fine, but on the new server we are getting errors which seem to have to do with resizing when we download them, not sure though.
The error is:
Exception in Imagick: Unsupported marker type 0x5c `/tmp/magick-XXJMYeFc' @ jpeg.c/EmitMessage/232
It's certainly possible, even likely, that we dont have it installed the same way on the new server, i didn't set it up myself either time.
Any ideas how to troubleshoot and solve this?
Thanks
Re: Imagick Error
Posted: 2011-06-01T12:27:47-07:00
by raindance
In the PHP.ini file I see:
;extension="imagick.so"
[PHP]
Do I also need magicwand installed? It seems that we used one or the other or both in the previous version of the server but I don't know and am not sure how to know?
Re: Imagick Error
Posted: 2011-06-01T12:42:58-07:00
by magick
The exception you received is thrown by the JPEG delegate library from within ImageMagick. It means the JPEG image your script is reading is corrupt or has a marker not support by your version of JPEG. It probably should just be a warning rather than an error exception. Post a URL to the JPEG image so we can download and inspect it.
Re: Imagick Error
Posted: 2011-06-02T06:26:57-07:00
by raindance
Thanks for your reply. This is the error
SELECT source_image_path FROM hotel_images WHERE hotel_id = '315347' AND source_image_path = '
http://static1.easytobook.com/images/89 ... g1-400.jpg' ORDER BY display_order DESC LIMIT 0,1
Downloading image from
http://static1.easytobook.com/images/89 ... g1-400.jpg
Saved to /home/juicyhot/public_html/images/google_images/tmp/img-20110601123040.jpg
Saving image /home/juicyhot/public_html/images/google_images/tmp/img-20110601123040.jpg to folder ES_hotel_nerja_club
Exception in Imagick: Unsupported marker type 0x5c `/tmp/magick-XXJMYeFc' @ jpeg.c/EmitMessage/232
And my programmer says:
it goes out gets the images, even downloads the images, but hangs every time on the resize.
Does that tell you what you need to know?
Re: Imagick Error
Posted: 2011-06-02T06:28:55-07:00
by raindance
Also...this script goes out and gets many images, and was working fine before we had to move to the new server...so it seems like a problem with the new server to me...perhaps imagemagick not installed properly or a module not installed or something?
Re: Imagick Error
Posted: 2011-06-03T10:34:43-07:00
by raindance
Any help please? We're stuck.
Thanks in advance...
Re: Imagick Error
Posted: 2011-06-03T14:32:54-07:00
by raindance
Does this tell you anything?
root@vps [~/ImageMagick-6.7.0-3]# identify logo.gif
logo.gif GIF 640x480 640x480+0+0 8-bit PseudoClass 256c 31.7KB 0.000u 0:00.000
root@vps [~/ImageMagick-6.7.0-3]# display logo.gif
display: unable to open X server `' @ error/display.c/DisplayImageCommand/428.
root@vps [~/ImageMagick-6.7.0-3]#