Subscribe Newsletter

Your Name  : 
Email Address *  : 
  • PNR Enquiry: Google SMS is a good way but besides it you can also check the PNR...
  • ???????: Thanks a lot, I have same problem and think how to solve it all day,...
  • Union Budget 2013-2014: Nice service by Indian Railways.
  • Railway Budget 2013: It is nice service of Google SMS by Indian Railway.
  • wordpress – widgets – plugin 2012: For more information see:...
  • PNR Status: thank you for the info
  • louisg: Thank you Bala Krishna, that’s very nice. Thanks for the SEO plug as...
  • Sandeep Beniwal: Hi, I want to convert video into .flv/.swf using asp.net...
  • Barun Roy Choudhury: Please send me swift code for IOB Santoshpur branch Kolkata...
  • Daniel: Hi, I followed the steps in the article and it gives me an error: Unknown...
  • amarana mohanarao: hello sir iam mohan plz send me STATEBANK OF INDIA [kotturu]...
  • Irina: Hi! Thank you for the article, really nice, but I have some more question...
  • s khaja mynuddin: hello i have forgotten my profile password can i send the filled...
  • Archives

  • Blog Stats

WordPress 2.5 Image Upload Error Fix

This is the most recent error i have found after upgrade to wordpress 2.5. WordPress 2.5 uses extremely new way to handle images but most of user found problem in image upload due to apache mod_security module. The file responsible for image upload is async-upload.php in wp-admin folder. you may encounter following error message while uploading images to wordpress;

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

Wordpress Image Upload Error Fix

This is the default message for image upload error. It should be more description and problem oriented so that user can determine problem easily. However most of the wordpress user face this error due apache mod_security filter enable for the website. To fix the problem you need to turn off apache mod_security filter for the async-upload.php file. The fix is very simple, you just need to update .htaccess for this.

Soution:

  1. 1) Use any free ftp program or you control panel file manager to download special file called .htaccess
  2. Edit file in your favourite text editor.
  3. You will find following content in file if you havn’t applied any custom htaccess rules.

    Options All -Indexes
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

  4. Add following line at the end of the file. Don’t worry if you have not above content in file or you didn’t find file at your host root. Create new file .htaccess with the below content.

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

  5. Now, your file content will look like this..

    Options All -Indexes
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

  6. Just save file and re-upload at the root of your website folder.
  7. All done.. Now error must be gone..


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

One Response to “WordPress 2.5 Image Upload Error Fix”

  1. Exceptional details with regard to upload files for having myself get moving. I most certainly will keep this particular website link and return to this.

Leave a Reply