Michael Webster

Uploading Assets in Entry/Page

Vote 0 Votes
Keep getting the error that "thumbnail cannot be created" and so I am unable to upload assets within pages or entries.

12 Replies

| Add a Reply
  • Hi Michael,

    Please describe the steps that you are following when getting that error message.

    Is that the whole error message you are getting?

    One thing you may like to try is to go to:
    System Overview -> Settings -> General

    and set the 'Debug Mode' to '1' (by default it is set to '0')

    That might provide you a more detailed error message.

    Thanks,
    Mihai

  • Here is what I get:

    Request completed in 0.348 seconds.
    "my" variable $ext masks earlier declaration in same scope at lib/MT/CMS/Asset.pm line 1560.
    Use of uninitialized value $t_w in numeric ne (!=) at lib/MT/Asset/Image.pm line 175.
    Use of uninitialized value $t_h in numeric ne (!=) at lib/MT/Asset/Image.pm line 175.
    Use of uninitialized value $t_w in numeric eq (==) at lib/MT/Asset/Image.pm line 175.
    Use of uninitialized value $t_h in numeric eq (==) at lib/MT/Asset/Image.pm line 175.
    Use of uninitialized value $from in print at lib/MT/FileMgr/Local.pm line 137.
    Use of uninitialized value $_[1] in join or string at (eval 310) line 2.
    Use of uninitialized value in subtraction (-) at lib/MT/CMS/Asset.pm line 902.
    Use of uninitialized value in subtraction (-) at lib/MT/CMS/Asset.pm line 904.

  • That's something that I cannot replicate.

    Please describe your workflow, in a step by step basis.

  • One other error:

    Use of uninitialized value in string eq at /server-path/franchise-info.ca/cgi-bin/mt/plugins/Ghostwriter/lib/Ghostwriter/Plugin.pm line 62.
    Use of uninitialized value $default in string ne at /server-path/franchise-info.ca/cgi-bin/mt/plugins/Ghostwriter/lib/Ghostwriter/Plugin.pm line 144.

  • I assume that you wouldn't have seen this error without enabling the Debug Mode.

    What you could do is either fix that using the advice from:
    http://stackoverflow.com/questions/25517244/perl-uninitialized-value-in-numeric-code

    Or you could remove the "Ghostwriter" plugin, in case you are not using it.

  • Let me remind you to list here a step-by-step guide on what you do when you get the error message:

    "thumbnail cannot be created"

    I could try to replicate that.

    As for the warnings listed above that appear only when you enable the "Debug Mode", there is nothing to worry about.

    They are generated because the server uses a very new Perl version.

    Those warnings don't break anything and could be ignored.

    The fact that they don't break anything is the reason why they don't appear as errors when the "Debug Mode" is turned off.

  • 1. I disabled the ghost writer plugin and still got the error.

    2. I disabled a bunch of plugins and still got the error.

  • I also tried Safari, Chrome without any extensions, and I am going to try an XP machine later on.

  • The steps are straightforward.

    1. Go to any blog.

    2. Manage/create an entry.

    3. Hit the toolbar button for inserting an image.

    Error.

    4. Oddly, if I simply upload the image from Assets, I have no problem.

  • Hi Michael,

    Please send me via email the specific image that you tried to upload along with the blog to which you've tried to upload, eventually even the entry for which you tried to upload that image.

    Thanks,
    Mihai

  • I just disabled the field plugin, at the system level.

    Seems to have worked.

  • Sounds good!

    It was the "FieldDay" plugin.

    In principle you should disable and/or delete all the plugins that you're not using.

Add a Reply

Forum Groups

Movable Type

1 12

Last Topic: Uploading Assets in Entry/Page by Michael Webster on Mar 2, 2015

3 9

Last Topic: Making breadcrumbs by SportsterPaul on May 24, 2017

Documentation

Be the first to post a topic in this forum

Performance

Be the first to post a topic in this forum

Pricing and Licensing

Be the first to post a topic in this forum

Product Ideas

Be the first to post a topic in this forum