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:
Download .htaccess and open it with text editor. If there isnt any .htaccess file, create one.
Copy and paste the following codes.
<IfModule mod_security.c> <Files async-upload.php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule>
Save, and upload the .htaccess file to replace the existing file. Now you should be able to upload image without any problem. Cheers!