• Resolved Mike

    (@mfkelly)


    I had a problem with media uploads, resulting in the message ‘An error occurred in the upload. Please try again later.’

    This seems to be quite a common problem here on the forums.
    I looked into it and found a solution for my scenario. Please note this is a generic ‘default error’ message though, so if your scenario is different my solution may not be useful.

    I narrowed the problem down to posts from the front page of blog sites (using the P2 theme in my case) by users with Author roles.

    I documented the problem and two possible solutions here:
    https://mikekelly.myblog.arts.ac.uk/2013/04/25/tracking-down-a-wordpress-bug/

Viewing 3 replies - 1 through 3 (of 3 total)
  • After I updated the site to WordPress version 3.5.2 appeared to me an error: “An error occurred in the upload. Please try again later”

    What have I done?

    1) I disabled the default theme (I did tests with the 2 themes offered by wordpress twentyeleven and twentytwelve)
    2) I disabled all plugins
    3) I deleted all plugins
    4) I inserted a code in wp-config.php file as I read here in the forum (I inserted the code before “require_once(ABSPATH .‘wp-settings.php’);“ and before the line of code “‘define(‘WP_DEBUG’, false);’”) Of course I inserted the code: define(‘CONCATENATE_SCRIPTS’, false );
    5) I updated wordpress manual 3 times

    Of course, every test I did refresh the browser … I deleted cookies … I deleted all browsing data in Firefox and Chrome.

    The error still there and I was desperate….

    How do I fix the problem? I moved the site to another server. Works perfectly now!

    Talk to your hosting company…………..

    no one can help??
    i have been having the same problem lately.
    – EVery time i upload an image with “Set fetarure image” i get the error message: “An error occurred in the upload. Please try again later.”
    – if i upload an image directly in the Media Library, stays in “crunching” status.

    I have tried:
    – reinstalling wordpress thousands of times
    – changing the hosting
    – changing the hosting permissions
    – changing the wp-config file
    – changing the .htaccess file
    – activating and reactivating mod rewrite
    – changing permalinks
    – deactivating all plugins
    – not installing plugins at all after reinstalling wordpress
    – changing themes to Twentytwelve to my custom themes and viceversa.

    After one week traying everything i isolated the problem to my theme, so it is in my theme; it has to be because when i change to TwentyTwelve, for example, it works, but when i change back to my custom theme, stops working.

    if i find why this happens, i will come back, and post it.

    As per the Forum Welcome, please post your own topics.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Solution – 'An error occurred in the upload. Please try again later.'’ is closed to new replies.