Image Upload Problem In WordPress 2.5

July 7th, 2008 by under Tips

I bet most of you have alraedy upgrade to wordpress 2.5.1. Are there any errors or bugs you found when using it? Most of the time, I am using FTP for photo uploading. Today, one of my theme users told me about the problem in uploading photo using wp-admin. Then, I just realized, I forgot about the bug when I release the theme. I should also include a note for the users. So, here is a way to solve it.

I think you can find this easily now. But I still think that a post of this is needed. Well, the new WordPress 2.5 is having some good improvement in both functionality and layout. The new method to handle images upload is also very nice. But since it is good, it can’t be any error in using it. Most of us encounter problems uploading images, getting stucked with error messages similar to the following:

  • HTTP Error
  • An error occurred in the upload. Please try again later.

If you found the errors above when uploading an image. Don’t worry, here is what you need to do:

Step 1

Download .htaccess and open it with text editor. If there isnt any .htaccess file, create one.

Step 2

Copy and paste the following codes.

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

Step 3

Save, and upload the .htaccess file to replace the existing file. Now you should be able to upload image without any problem. Cheers!

7 Comments | RSS 2.0 | Trackback Add comment
From old to new:
  1. Jeff July 7th, 2008
  2. kailoon July 8th, 2008
  3. Jeff July 8th, 2008
  4. kailoon July 11th, 2008