Help - Search - Members - Calendar
Full Version: Image::Magick problem
Movable Type Community Forum > Installing and Upgrading > Basic Installation and Setup
mattiz
I have a strange problem with the use of Image::Magick.

My web host supports Image::Magick. When i run mt-check.cgi it sais:

QUOTE
Image::Magick...
Your server has Image::Magick installed (version 5.5.7).


So i changed my mt.cfg into:

QUOTE
ImageDriver ImageMagick


I uploaded the mt.cfg and rebuilt the site. But when i try to upload an image and check the "Create a thumbnail for this image" field and press Popup image button i receive the message:

QUOTE
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.


I have the feeling that i am missing a basic step in the process. Can someone help me with this problem?

Thanx in advance.
imabug
find out what is recorded in the webserver error log when you get the error. you might have to contact your host provider to find out this information.
mattiz
Thanks for the tip. The following remark was in my error log:

QUOTE
Premature end of script headers: /home/adlibsn/public_html/mt/mt.cgi


Any idea what this means?
mattiz
I found this in the help file:

QUOTE
By default, Movable Type will look for the NetPBM tools in one of the following locations: /usr/local/netpbm/bin, /usr/local/bin, or /usr/bin. If you need to set a different path, add another line to mt.cfg:

NetPBMPath /path/to/netpbm


My path to perl is usr/bin/perl

Do i need to insert a line too when want to use Image::Magick?

I tried to insert the line ImageMagickPath /usr/bin/perl
but that didn't work.
ehsan
Where exactly can I set the Path to Image magick?
Shanee12581
I'm bumping this-Does anyone have any info?

I have the exact same problem. And so does another person I know of.
theresavs
I have the EXACT same problem, down to the same error log message.

I've contacted my web hosting company and this is all they tell me:
QUOTE
Both ImageMagick library and Image::Magick Perl are installed and some of our clients are able to create thumbnail using these libraries using their own photo gallery scripts.

the path of the ImageMagick library is /usr/X11R6/bin
echoleighdotcom
No one knows the answer to this question?
shelley
As near as I can tell, the path to ImageMagick is defined when the Image::Magick Perl module is installed, and that's why MT doesn't have a setting for it. I'm assuming Image::Magick is supposed to know where to look already.
JaeSun
have you setup the blog in the config?

also, make sure the chmod permissions are correct ....
matthewpoe
I'm having this identical problem as well. Same errors in the server log (about prematurely end of script headers) meanwhile, mt-check.cgi finds Image::Magick installed properly.

Someone please help?!

I tried NetPBM, alternatively, and it's giving me a different error - it returns

QUOTE
An error occurred:

Broken pipe: write( 21, 'ÿØÿà�JFIF��`�`��ÿíJPhotoshop 3.0�8BIMí


and so on... basically, I'm assuming that it's failing to recognize the image's filetype and just dumping it out in ASCII characters. I could be wrong.

So, if anyone can help me solve either of these problems, I'd be really grateful!

Thanks,

Matthew
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.