Russ Miller

Insert Image / File Fails

Vote 0 Votes

I recently upgraded a website from 5.01 to 5.12 and found that when editing a page, the "Insert Image" or "Insert File" doesn't work correctly. Upon selecting the icon in the WYSIWYG editor, it pops up a window (as expected), but it then shows: "An error occurred". In the pink area where an error would normally show, it's just blank and then prompts to go back or close.

An associate of mine mentioned that he had a similar issue after upgrading, but once he installed / upgraded Image::Magick and PerlMagick, all was good. I have since done that, but the results are the same.

Under System Overview > Tools > System Information, I see Image::Magick (6.75) is installed with no errors.

Does anyone have any other idea what could be the cause of this... or how I can force it to show details in the error area?

Thanks.

Reported on Movable Type 5

6 Replies

| Add a Reply
  • One thing to add. If I use the Asset Manager, everything works as expected.

  • Hi Russ,

    To track down if the issue is indeed with Image::Magick, you may like to specify an alternative image driver inside your mt-config.cgi file.

    For instance you could try adding:
    ImageDriver GD

    Or:
    ImageDriver NetPBM

    Try this and let me know!

    Also, how have you upgraded? I hope that you've first removed your previous installation files and then uploaded the new files, not overwriting the previous files.

    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/
    ----------------------------------

    Movable Type Upgrade
    http://www.movabletypeupgrade.com/

  • Hi Mihai,

    Thanks for the recommendations. I tried alternate image drivers and that didn't work, but we found the issue.

    It appears that it was with CKEditor. Once that plugin was updated, it addressed the problem.

  • Hi Russ,

    You're welcome!

    Glad to hear that you've isolated the problem.

    Kind Regards,
    Mihai Bocsaru

  • Maybe I should start a new topic but this one seems to fall into the same sort of category as a problem I'm having. I've upgraded to a new version of MT and while all of my content for my blog is in place I can't find any of my images. Anyone know where they might have gone to? The last time I moved servers I didn't change address so only had to upload and go, this time having changed addresses as well as servers and hosts I changed all the addresses for my images to match the new address but all that's showing up is the "alt" information in the area the image should be. I went from, what I believe to be MT 3 or 4 to MT 5.13. If anyone can give me a hint as to where I might find where my images have vanished to I would appreciate it.

    Cheers

    richard

  • Hi Richard,

    You could have indeed created a new topic for your issue, but since you've started here I'm going to reply here. Hope Russ won't mind :)

    When I looked at your website I've seen a broken image on the sidebar. The image file name is "gse_multipart9234.jpg".

    The reason why that sidebar image is broken is that its URL starts with 'http:/' instead of 'http://'.

    An automated way to fix this is to:

    - search for 'http:/' and replace with 'http://';

    but because you might alter also the correct ones, you would also:

    - search for 'http:///' and replace with 'http://'.

    If you could point me to one or more URLs where you have missing images I could take a look and try to understand why they are not displaying.

    The idea is that when you switch servers you should copy all your files from the source server to the destination server.

    Also, some people store assets under the 'mt-static' folder which is not good and whenever they upgrade they have to remember to keep/copy those files to the new installation 'mt-static' folder. The 'mt-static' folder should only contain MT-related files and not the user project's files.

    Kind Regards,
    Mihai Bocsaru

Add a Reply

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

Forum Groups

code.sixapart.com

141 498

Last Topic: Action Stream for LinkedIn by michael webster on Jan 10, 2013

254 907

Last Topic: Auditors in India by dimpi on May 3, 2013

1873 6643

Last Topic: Main Index Template by Richard on May 7, 2013

89 311

Last Topic: Seeking explanation of files and folders by CosmicKnight on Feb 23, 2013

1520 5507

Last Topic: Is there a way to edit the head element on a post-by-post basis? by jmcg8888 on May 7, 2013

743 3152

Last Topic: Installation Problem by Alex L on Apr 2, 2013

90 334

Last Topic: HELP! I need to 301 over 100 urls on my site via htaccess by justin on Feb 22, 2013

193 801

Last Topic: Deleting Revision History by Will Haynes on Mar 16, 2013

28 97

Last Topic: Movable Price by joe22 on Jan 10, 2013

51 222

Last Topic: Phone App by Duane Langshaw on Apr 3, 2013

65 249

Last Topic: Expanding new rich text editor and implementing table function by Takeshi Nick Osanai on Jul 30, 2012