aitor méndez

Ipossible to upload images

Vote 0 Votes

Hello, I installed MT and working properly, including the ability to incorporate images. However, after importing the entries file (it is quite large, as it includes all entries from 2003) the system will not let me upload more pictures. In other words, it appears damaged after importing the old entries.

The error I get when I press the button to upload images is as follows:

No se pudo cargar Image::Magick: Can't locate Image/Magick.pm in @INC (@INC contains: /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/StyleCatcher/lib /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/Textile/lib /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/spamlookup/lib /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/WXRImporter/lib /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/WidgetManager/lib /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/zemanta/lib /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/MultiBlog/lib /usr/home/contraindicaciones/www/cgi-bin/mt/plugins/TypePadAntiSpam/lib /usr/home/contraindicaciones/www/cgi-bin/mt/extlib /usr/home/contraindicaciones/www/cgi-bin/mt/extlib lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .)

Here in a screen capture: http://cl.ly/2N3l1e0l0x46322z0E2a

I consulted with my ISP and I have Image:: Magic installed in the server. Not as a module is installed although they are binary files (do not know what that means exactly, but I think that without module I can not use the Image:: Magic).

The questions now are:

Why it works properly before importing the entries and does not work after import?
Can I use Image:: Magic as a binary or only as a module?

Thank you very much.
Aitor Méndez.

Reported on Movable Type 5

9 Replies

| Add a Reply
  • Hi Aitor,

    You would have to ask your hosting support to install the Image::Magick perl module for you.

    Alternatively, you could specify a different image engine on your mt-config.cgi file, like this:

    ImageDriver NetPBM

    or:

    ImageDriver GD

    Use any of these two alternatives, but be aware that Image::Magick is the preferred one for movable type.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

  • Hello, Mihai.

    ¿Have you got any idea about why the upload image button works before import entries but not after? Is a very weird problem.

    The image magic module is not available in my server. As a shared server I can't install that kind of software.

    Thanks a lot as usual, Mihai.
    Aitor Méndez

  • Hello Aitor,

    I don't, but do what I've advised you above.

    Edit the mt-config.cgi file and set:
    ImageDriver NetPBM

    Or, set:
    ImageDriver GD

    Don't set both, but any of these two alternative image drivers and you should be fine.

    Cheers,
    Mihai

    • Hello Mihai,

      As a new MT Admin, I've perused the forum over the past few days and see that you are a generous and helpful contributor. Your posts have certainly helped me, so thanks for all that you do!

      I'm having similar problem with optional Perl modules (as many others have had), specifically with Image::Magick. In an old posting with heading Crypt::DSA, Richard Benson suggested downloading the module from CPAN and uploading the lib folder contents to cgi-bin/mt/extlib/. I tried this but could not get it working (see my reply to the posting). Do you think this could work?
      And do you think a similar approach could be taken for DBD::Pg and Image::Magick?? If so, I think it could be a very useful workaround for users encountering problems with their hosting providers.

      Perhaps in hindsight I couldn't get it working because I used the wrong mode (i.e. ASCII instead of Binary) during my FTP transfer. Is there any way to discern this by examining the files that have been uploaded via FTP?

  • I have tryed that already and, I also have tried "ImageDriver imager", but the error message was the same (changing the image driver name).

    I think something has broken when I imported the old entries file because there is something that is wrong: in the "edit entry" page (in a old page with old contents) the content field appears empty and I can't writte anything in there (the html static page shows all content correctly)

    I repeated the installation process to check if I have made a mistake but the result was the same.

    Thank you again, Mihai.
    Aitor Méndez.

  • Hi Aitor,

    For the issue wityh the empty fields, make sure that you call MT from the exact same URL as specified inside mt-config.cgi.

    In other words, if you've specified the CGIPath directive to contain the www prefix on the URL, then call the MT admin from an URL which to contain that www prefix.

    Cheers,
    Mihai

  • Ok. I go to see that. Thank you.

  • You were right. The empty field issue was solved writing the www prefix in the URL field!

    I have now the upload image issue that is unsolved yet. ¿Any suggestion? Maybe, I'm abusing your good will. This time is getting harder for me to install MT. Let me know.

    Thank you.

    Aitor.

  • Glad to hear that :)

    How much are you paying for that shared server?

    I could get you on board on a professional server based in Pittsburgh, PA, USA for as low as 180 USD / year.

    http://www.pro-it-service.com/en/movabletype_hosting.html

    Your hosting provider should get Image::Magick installed for you, as that would be for the good of all the other accounts.

  • Hello Mihai,

    As a new MT Admin, I've perused the forum over the past few days and see that you are a generous and helpful contributor. Your posts have certainly helped me, so thanks for all that you do!

    I'm having similar problem with optional Perl modules (as many others have had), specifically with Image::Magick. In an old posting with heading Crypt::DSA, Richard Benson suggested downloading the module from CPAN and uploading the lib folder contents to cgi-bin/mt/extlib/. I tried this but could not get it working (see my reply to the posting). Do you think this could work?
    And do you think a similar approach could be taken for DBD::Pg and Image::Magick?? If so, I think it could be a very useful workaround for users encountering problems with their hosting providers.

    Perhaps in hindsight I couldn't get it working because I used the wrong mode (i.e. ASCII instead of Binary) during my FTP transfer. Is there any way to discern this by examining the files that have been uploaded via FTP?

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012