Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author assortedchips

    (@assortedchips)

    Can you provide me with the version of WordPress are you using? Thanks.

    Plugin Author assortedchips

    (@assortedchips)

    I’ve updated the plugin to give more verbose error messages. Please update to plugin version 1.0.4 and then let me know what the error message now says.

    By the way, the orignal error message you were getting indicates that WordPress was not able to save the generated image file to your media library for some reason. The new error messages will say why.

    Thread Starter hshelton

    (@hshelton)

    The error now says:
    Sorry, could not insert attachment into media library. WP error: The uploaded file could not be moved to wp-content/uploads/2015/07.

    Plugin Author assortedchips

    (@assortedchips)

    It sounds like there might be a problem with the upload folder permissions. I’m guessing that your WordPress installation either can’t create the new folder for /2015/07 or if the folder exists then it can’t write to it. See here for example of things to try:
    https://ww.wp.xz.cn/support/topic/uploaded-file-could-not-be-moved-to?replies=17

    Let me know if that helps. What hosting service are you using?

    Thread Starter hshelton

    (@hshelton)

    I’m hosting locally on a Windows server. WordPress’ default Media Upload works as it should (creating folders when needed and saving documents to those folders), I only have the issue when using DrawIt

    Plugin Author assortedchips

    (@assortedchips)

    Ok, what version of WordPress, PHP and Windows are you using?

    Thread Starter hshelton

    (@hshelton)

    Virtual Machine running Windows 7, WordPress is version 4.2.2 and PHP is 5.6

    Plugin Author assortedchips

    (@assortedchips)

    OK, I’ll try to duplicate the environment and will get back to you.

    Plugin Author assortedchips

    (@assortedchips)

    Hi hshelton,

    I have fixed this problem with saving/moving files in Windows and WAMPServer based installations. Please upgrade the plugin to version 1.0.8 and let me know if everything is working for you now. Thanks!

    Thread Starter hshelton

    (@hshelton)

    Thank you for being so quick with this! It is now saving the images as it should.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Cannot insert attachment’ is closed to new replies.