An error occurred in the upload. Please try again later

This was the other wordpress 2.5 issue I had.

This was on a live server and not local. I tried to upload an image and the image crunched ok, but I got this message when it was done. I think it has to do with write permissions but the solution I found was to add this to your .htaccess file.

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

That seemed to fix the upload issue but the next issue I had was when I tried to actually insert the image into the post, all I got was a blank screen from the media page.

After a few times of the blank screen I restarted firefox and now everything worked fine.

I guess the first problem affected the http state of the browser or window or something and the restart just cleared it all up.

** According to Google Analytics this is my most popular post ever! So if it was helpful, please leave a comment and tell me how glad you are that I copied someone else’s solution for you to find.

Trackback URL

, ,

One Comment on "An error occurred in the upload. Please try again later"

  1. Matt
    Zac
    14/06/2008 at 9:01 am Permalink

    Yes - very helpful indeed (you’re first in google for this error message).

    I upgraded WP but kept my .htaccess file…so I presume these rules weren’t there.

    Thanks for the solution!

    cheers,

    Zac
    The Roar
    http://www.theroar.com.au

Hi Stranger, leave a comment:

ALLOWED XHTML TAGS:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to Comments