Posted on 6 April, 2009 By 50 Comments

WordPress Flash Uploader Fix for the HTTP Error

 

Learn Line Dancing in a Flash (by Ray Radlein)

Last week I mentioned that I was having problems with comment moderation since upgrading to WordPress 2.7. Well, I was also having trouble with the flash uploader. I would get an error and have to use the browser uploader. Not a big deal but it annoyed me and slowed me done because I could only upload one image at a time.

So, I also decided to tackle this when I did my WordPress spring cleaning and I found a solution that worked for me.

 

When I would try to use the flash uploader for images I would get an error that said HTTP Error in bright red and nothing would happen.

When I started doing some research on the WordPress forums I discovered that there were many causes of this problem and just as many possible solutions. My heart sank a little because I wanted one simple answer and didn’t want to try a lot of different solutions. I am, however, only going to discuss the solution that worked for me.

The error is often caused by mod_security, which is a security module installed by the web host. This can be corrected by modifying the .htaccess file and there are two ways to deal with this.

  1. Install the Image Upload HTTP Error Fix plugin. The plugin adds the necessary lines to the .htaccess file. I have not tried this plugin so can’t vouch for it but people seem to be using is successfully.
  2. Edit your .htaccess file. This file is at the root level of your WordPress installation. Download it via ftp, make a copy, and then add the following lines to it.

    #BEGIN Image Upload HTTP Error Fix
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    #END Image Upload HTTP Error Fix

    Then upload the edited .htaccess back to the root level of your WordPress installation.

I used the second solution because I am familiar with editing the .htaccess file and didn’t want to install another plugin just to do this for me. If you are having a similar problem with the flash uploader this solution may correct it. This thread in the WordPress forums discusses other possible solutions if this one doesn’t work for you.

photo credit: Ray Radlein




Keep Reading:
Posted In : WordPress Plugins | WordPress Tips

Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter. If you are looking for Hosting, WordPress Theme, Newsletter or other recommendations, please view my detailed list.




50 Responses to “WordPress Flash Uploader Fix for the HTTP Error”

Trackbacks/Pingbacks
  1. The WordPress flash media uploader doesn’t work. How can I fix it? | WPContent
Leave a Comment
You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

CommentLuv badge

About

Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

Recent Comments

    • Tanya: These are some great plugins! Will have to try a few out, Thanks :) Love that its free too!...
    • Gary Starkman: I wonder if there are gonna be any new posts, I'm a big fan of posts like this one, really is helpful....
    • Raviraj: I am a big fan of woocommerce.. I have installed in many of my websites.. Glad to see these awesome free woocommerce ext...
    • Gary Starkman: Thanks for sharing, put a smile on my face....
    • vaibhav: I have a friend with one. This might help him. Il ask him to contact you...

Wordpress Services

  • Installation, upgrades and maintenance
  • Conversion of existing html and css templates
  • Theme and plugin recommendations
  • CSS customizations
  • Troubleshooting and tweaks for unique situations
  • Customization for individual blogging goals and needs
  • Training and advice