Posted on 6 April, 2009 By 48 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


Thesis Theme for WordPress:  Options Galore and a Helpful Support Community

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.




48 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

    • Property Marbella: Hi Kim, Good article with several good tips, my friend up in Sweden has clothing stores and online sales with little tr...
    • Kim Woodbridge: This post was written 2.5 years ago. At that time people wanted detailed instructions and asked me to write it. And wh...
    • Kim Woodbridge: Pretty much all themes have a page.php file. Are you using a child theme? If so, you will want to look for the page.ph...
    • Mitch: That's why the internet has evolved into a worthless piece of "junk yard". Everybody is repeating the same thing over an...
    • Meredith: This is very straightforward info, and I think it will help, but I have one question. What if I don't have a page.php fi...

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