WordPress image upload http error

If you’re one of the frustrated users who are excited to upgrade to the latest version of WordPress 2.5.x only to be turned-off by the image upload function, then read on.

The new version has great way in handling media upload, it is a redesign from the previous version. It is sleek and simple but because of it’s AJAX implementation, loading seems like a little slow.

Aside from this slow loading issue, I can’t seem to upload a single image. I tried several times and still the same, failed to upload. No issue with images hosted somewhere else, it’s just when trying to upload an image that this issue occur with the following message:

I just found that this has something to do with Apache’s mod_security.

Mod_security is a module for your Apache server. You can think of mod_security as a firewall for your Apache. It works as a intrusion detection system, and helps to shields you from a number of different attacks, such as SQL injection attacks, cross-site scripting and other nasties.

The problem with disabling mod_security is that you make it easier for hackers to compromise your system. However if you use a .htaccess file the security risk is limited, as you are only disabling mod_security for async-upload.php

Here’s how to correct it:

  1. Connect to your server using FTP client, CPanel or or shell terminal and navigate to the WordPress root folder. This is usually located in /home/userID/public_html or sub-folders below it.
  2. Find .htaccess and edit it. If there isnt any .htaccess file, create one.
  3. Editing the file depends on your text editor. Insert the following at the bottom of .htaccess:
  4. <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

  5. Save the file. You should be able to upload now..


UPDATE:

After going through the above procedure, hacking WP to get the media upload working. Some kind soul managed to create a WP plugin that fixed the issue. It’s not a 100% solution though as users are still reporting the same problem after installing this plugin. Get it here:

This is an update for those using the 2.6.x version that are still experiencing this issue:

  1. Login to your WordPress blog as an admin
  2. Go to “Settings”
  3. Click the menu-tap “Miscellaneous”
  4. Change “Store uploads in this folder” settings from “wp-content” to “wp-content/uploads
  5. Click save and you’re all done!

3,371 Comments

  1. buy online cycrin tablets

    Link exchange is nothing else except it is just placing the other person’s webpage link on your page at suitable place and other person will also do same in support of you.

    Reply
  2. www.Aloe-Vera-gel-Shop.com

    What i don’t realize is actually how you are no longer actually much more neatly-preferred than you might be right now.
    You’re so intelligent. You know thus significantly with regards to this topic,
    made me in my view imagine it from numerous various angles.
    Its like women and men are not involved unless it is something to accomplish with Girl gaga!
    Your personal stuffs great. At all times care for it up!

    Reply
  3. Free telephone directory

    I know this web site offers quality dependent content and other information, is there
    any other web page which presents such things in quality?

    Reply
  4. Phone directory

    What’s up, everything is going fine here and ofcourse every one is
    sharing information, that’s genuinely fine, keep up writing.

    Reply
  5. Privileged offers

    You’ve made some really good points there. I looked on the internet to find out more
    about the issue and found most individuals will go along with your views on this website.

    Reply
  6. agricultural buildings

    Thank you for publishing this.

    Reply
  7. ?? ?? ??

    I have fun with, result in I found just what I was taking a
    look for. You’ve ended my 4 day lengthy hunt! God Bless you man. Have a great day.
    Bye

    Reply
  8. powsolnet.com

    Thanks for posting this.

    Reply
  9. More about the author

    Hey! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the
    same niche. Your blog provided us beneficial information to
    work on. You have done a marvellous job!

    Reply
  10. cultivando orquídeas

    Because the admin of this web site is working, no hesitation very
    quickly it will be famous, due to its quality contents.

    Reply
  11. Peluang Bisnis Baru Sampingan 2018

    My suggestion is tto discover consultant that understands the ins and outs of bsiness
    funding and whether your idea containns the potentiaal to be funded or needs being reworked.
    Although this iss the case, for many peoiple that thjngs are
    all bad including examining a fresh business. In response to this sales strategy, it is
    quite common to hear sales reps repeat the following: “The business owner.

    Reply
  12. click here

    Hi! I know this is kind of off topic but I was wondering which blog
    platform are you using for this site? I’m getting tired of WordPress because
    I’ve had problems with hackers and I’m looking at options for
    another platform. I would be great if you could point me
    in the direction of a good platform.

    Reply
  13. useful reference

    Nice post. I learn something totally new and challenging on blogs I stumbleupon everyday.
    It will always be exciting to read content from other writers and practice something from their web
    sites.

    Reply
  14. order now cheap epoetin-alfa canada

    Hi, i read your blog from time to time and i own a similar one and i
    was just curious if you get a lot of spam responses?

    If so how do you reduce it, any plugin or anything you can recommend?
    I get so much lately it’s driving me insane
    so any support is very much appreciated.

    Reply
  15. ghautoparts.com

    Paragraph writing is also a fun, if you know
    afterward you can write otherwise it is complex to
    write.

    Reply
  16. ?????????????

    It’s impressive that you are getting ideas from this article as well as from our dialogue made at this place.

    Reply
  17. hold open devices

    Thanks for ones marvelous posting! I genuinely enjoyed
    reading it, you might be a great author. I will always bookmark your blog and
    will often come back at some point. I want to encourage one to continue your great work, have a nice weekend!

    Reply
  18. outdoor privacy screen

    Hello there, You have done a fantastic job.
    I will certainly digg it and personally recommend to my
    friends. I am confident they’ll be benefited from this web site.

    Reply
  19. whoisology.com

    Everyone loves it when individuals come together and share
    thoughts. Great site, keep it up!

    Reply
  20. network cable installation

    Awesome post.

    Reply
  21. Latonya

    Wonderful beat ! I wish to apprentice while
    you amend your website, how could i subscribe for a blog web site?
    The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright
    clear concept

    Reply
  22. html5gameslabs.com

    Since the admin of this web page is working, no uncertainty very quickly it will be well-known, due to its feature contents.

    Reply
  23. transparent led screen glass

    Excellent beat ! I wish to apprentice whilst you amend your site, how could
    i subscribe for a blog website? The account helped me a acceptable deal.
    I have been tiny bit familiar of this your broadcast provided bright clear idea

    Reply
  24. http://www.ashcroft-pollard.Co.uk/

    Many times, this setting is much easier to master in that a typical classroom.
    Do exercises you love – There is no reason in exercising you
    hate. In fact, it’s Victoria’s Secret and Fredericks and the fact
    they spend millions on advertising that explains why their prices are really
    at high level and also you could be thinking this is not an alternative for you because of the economy.

    Reply
  25. wholesale mlb jerseys

    Hey there! I’m at work surfing around your blog from my new
    iphone! Just wanted to say I love reading through your blog
    and look forward to all your posts! Keep up the fantastic work!wholesale mlb jerseys

    Reply
  26. bikini foto

    Yesterday I tried out our new numbing serum, Numb-IT.

    Reply
  27. order ceclor buller

    Why people still make use of to read news papers when in this technological
    globe the whole thing is accessible on net?

    Reply
  28. fiber optic cable installation

    Excellent, what a web site it is! This webpage presents
    valuable information to us, keep it up.

    Reply
  29. quais sintomas da crise de ansiedade

    Percebi que não tive mais as crises com ansiedade.

    Reply
  30. local client takeover

    I believe this is one of the so much significant
    information for me. And i am satisfied studying your article.
    But should statement on some common issues, The site taste is ideal, the articles is really
    nice : D. Good process, cheers

    Reply
  31. exchange for physical index futures

    +Thomas Cooper The ones we had over the course of the 28 years I spent
    in the market were corrections, not crashes. I mean the financial equivalent of
    a Carrington Event, a true financial tsunami.
    We haven’t had the Big One. Yet.

    Reply
  32. memphis plastic surgery group

    Hi there to all, as I am actually eager of reading this
    website’s post to be updated daily. It consists of nice data.

    Reply
  33. generic pripsen order store canada

    We are a group of volunteers and opening a brand new scheme in our community.
    Your web site provided us with useful info to work on. You’ve done an impressive task
    and our whole group shall be grateful to you.

    Reply
  34. reverse mortgage testimonials

    Hi i am kavin, its my first time to commenting anywhere, when i read this paragraph i thought i
    could also create comment due to this good piece of writing.

    Reply
  35. incipient caries meaning

    It’s awesome to go to see this website and reading the views of all mates regarding this paragraph, while I
    am also zealous of getting knowledge.

    Reply
  36. Saxophone sound

    Terrific web site you hav below, i do agree
    on some factors even though, but not all.

    Reply
  37. Coupons bargains

    Quality posts is the secret to be a focus for the viewers to visit the web page, that’s what this website
    is providing.

    Reply
  38. Discount coupons

    I would like to thank you for the efforts you’ve put in penning this blog.
    I’m hoping to check out the same high-grade content by you later on as well.
    In truth, your creative writing abilities has motivated me to get my own, personal blog now 😉

    Reply
  39. Novella

    My family members all the time say that I am killing my time here
    at web, but I know I am getting knowledge daily by reading such fastidious content.

    Reply
  40. medication

    Hi there! Someone in my Myspace group shared
    this site with us so I came to give it a look. I’m definitely enjoying
    the information. I’m bookmarking and will be tweeting this to my followers!
    Great blog and terrific design and style.

    Reply
  41. digitalprintxpress.co.za

    I like the helpful info you provide in your articles. I will bookmark your blog and check again here regularly.
    I am quite sure I will learn many new stuff right here!
    Good luck for the next!

    Reply
  42. car carsales

    Hello! Quick question that’s entirely off topic. Do you know
    how to make your site mobile friendly? My website looks weird when viewing from my
    iphone4. I’m trying to find a theme or plugin that might be able to resolve this problem.

    If you have any suggestions, please share. Appreciate it!

    Reply
  43. rubber band bracelet

    I’ve been browswing online more than 4 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough foor me. Personally, if all site owners and bloggers made
    good content as you did, the web will be a lot more useeful than eever before.|
    I couldn’t refrain from commenting. Well written!|
    I will righbt away clutch your rss as I can’t find yojr email subscription hyperlink orr e-newsletter service.
    Do you have any? Kindly permit me knjow so that I could
    subscribe. Thanks.|
    It’s perfect time to make some plans for the future and it is time to be happy.
    I have read this post and if I coupd I wish to suggest you some
    interesting things or suggestions. Perhaps you can write next articles refering to this article.I wish to read even more things about it!|
    It is appropriate time to make a few plans for the future
    and it’s time to be happy. I have read this post
    and iff I could I wish to recommend you soime fascinating
    things or suggestions. Perhaps you could wriye next articles referring to
    thos article. I want to read even more things about it!|
    I’ve been surfing on-line more than 3 hours lately, yet I by no
    means discovered any fascinating article liike yours.
    It’s beautiful value sufficient for me. Personally, if alll website owners and bloggers madxe just rkght content as you
    did,the net can be a lot more useful than ever before.|
    Ahaa, its fatidious dialogue regarding this paragraph here at this
    webpage, I have red all that, so at this time me also commenting here.|
    I am sure this article has touched all the internet users,
    its really really good pisce of writing on building uup new
    blog.|
    Wow, this article is pleasant, my sister is analyzing these things, so I am going
    to inform her.|
    bookmarked!!, I like your web site!|
    Way cool! Some extremely valid points! I appreciate you writing this write-up and also the rest of the website is very good.|
    Hi, I do think this is an excellent web site. I stumbledupon it 😉 I’m going to come back once again since I book-marked
    it. Money and freedom is the greatest way to change, may you be rich and
    continue to guide others.|
    Woah! I’m really dibging the template/theme of this site.
    It’s simple, yet effective. A lot of times it’svery difficult to get that “perfect balance” between user friendliness and visual appearance.
    I must say you have done a excellent job with this.
    Additionally, the blog loads super fast for me on Intfernet explorer.Excellent Blog!|
    These are genuinely great ideas in concerning blogging.
    Youu have touched somee nice things here. Any way keep up
    wrinting.|
    I love what you guys are up too. This type of clever work and coverage!
    Keep up the very good works guys I’ve added yoou guys to my
    own blogroll.|
    Hey there! Someone in my Myspace group shared this
    site with uss so I came to look it over. I’m definitely enjoying the
    information. I’m book-marking and will be tweeting this to myy followers!
    Terrific blog annd billiant design.|
    I really like what you guys tend too be up too.
    This type of clever work and reporting! Keep up the excellent works guys I’ve
    included you guys to myy personal blogroll.|
    Hi there would you mind sharing which blog
    platform you’re working with? I’m going to sstart my own blog soon but I’m having a hard
    time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems
    different then most blogs and I’m looking for something comppletely unique.
    P.SApologies ffor getting off-topic but I had to ask!|
    Hi would youu mind letting me knmow which hosting company you’re utilizing?

    I’ve loaded youjr blog in 3 completely ditferent browsers annd
    I must say this blog loads a lot quicker then most.

    Caan you suggest a good hosting provider at a honest price?
    Thank you, I appreciate it!|
    Everyone loves iit whenn folks get together and
    share opinions. Great site, keep it up!|
    Thank yyou for the good writeup. It in facct was a amusement
    account it. Look advanced to far added agreeable from you!
    By the way, how could we communicate?|
    Hi there just wanted to give you a quick heads
    up. The words in your articoe seem to be running off the screen iin Safari.

    I’m not sure if this is a format issue orr something to
    do with internet browser compatibility but I thought I’d post to llet you
    know. The design look great though! Hope you get the issue fixed
    soon. Thanks|
    This is a topic which is near to my heart…
    Many thanks! Exactly where are your contact details though?|
    It’s very trouble-free to find out any matter on web as compared to textbooks, as I found this post at this site.|
    Does yoour website have a contact page? I’m having a
    toigh time locating it but, I’d like to send you an e-mail.
    I’ve got some suggestions for your blog you miht be interested
    in hearing. Either way, great website and I look forward to
    seeing iit expand over time.|
    Hi! I’ve been following your weblog for some time now and finally got the courage to go ahead and give
    you a shout out from Huffman Texas! Just wanted to mention keep
    up the excellent work!|
    Greetings from Florida! I’m bored to tears at work so I decided to check out your website on my
    iphone during lunch break. I love the informatrion you present here
    and can’t wait to take a look when I get home.
    I’m amazed at how fast your bblog loaded on my phone .. I’m not even using WIFI, just 3G ..
    Anyhow, good site!|
    Its such as you read my mind! You appear to know so much about this, like you wrote the e-book in it or something.

    I feel that you can do with a few % to drive the message home a little
    bit, but instead of that, that is magnificent blog.
    A great read. I will definitely be back.|
    I visited multiple web sites however the audio quality for
    udio songs existing at this site is truly superb.|
    Hi, i read your blog ftom time tto time and i own a similar one and i wwas just curious if you get
    a lot of spam responses? If so how do you stop it, any plugin or
    anything you can recommend? I get so much lately it’s driving me insazne so anyy help is very much
    appreciated.|
    Greetings! Very helpful advice in this particular post! It is the litrtle changes that make the greatest changes.

    Thanks for sharing!|
    I really love your website.. Very nice colors & theme.Did you develop this amazing site yourself?
    Pleaze reply bback as I’m hoping to create my very oown site and would love to know where you got this from or exactl whaqt the theme
    is called. Thznk you!|
    Howdy! This post couldn’t be written any better!
    Going through this article reminds me of my previous roommate!
    He constantly kept preaching about this.
    I will forward this post to him. Fairly certain hee will have a great read.
    Thamks forr sharing!|
    Wow! This blog looks exactly like my old one! It’s on a toktally different subject but it has pretty much the
    same page laout and design. Outstanding choice of colors!|
    There is certainly a lot to know about this topic. I like all of the ponts yyou have made.|
    Youu made some really good points there. I checked on the
    net for more info about tthe issue and found most people will go along with your views on this site.|
    Hello, I check your new stuff like every week. Your story-tellingstyle is witty,
    keep it up!|
    I juist could not leave your site before suggesting that I extremely loved the
    usuazl information an individual suppoly for yoir visitors?
    Is going to be again often in order to inspect new posts|
    I need to to thank you for this excellent read!! I certainly loved every little bit of it.
    I’ve got you book marked to check out new stuff you
    post…|
    Hi, just wanted to mention, I loved this post.
    It was helpful. Keep on posting!|
    Hi there, I enjoy reading through your article. I like to
    write a little comment to support you.|
    I always spent my half an hour to read this webpage’s content every day along with a mug of coffee.|
    I always emailed this website post page to all my contacts, since if like tto read it
    afterward myy friends will too.|
    My programmer is trying to convince me to move to .net from
    PHP. I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using WordPress on a number
    of websitess for about a year and am worried about switching tto another platform.

    I have heard good things about blogengine.net. Is there
    a way I can import all my wordpress posts into it?
    Any help would be greatly appreciated!|
    Howdy! I coud have sworn I’ve been to this site before but after browsing through some of the posts I realized it’s new to me.
    Anyways, I’m certainly delighted I discovered it and I’ll bee book-marking it and checking
    back frequently!|
    Wonderful article! That is the type of info that are
    meant to be shared across thee internet. Disgrace on the search engines for not positioning this put up upper!
    Come on over and consult with my site . Thanks =)|
    Heya i am for the first time here. I found this board and
    I find It really useful & it helped me out a lot. I hope to give something back and hedlp others
    like you helped me.|
    Hello, There’s no doubt that your site might be having web browser
    compatibility issues. Whenever I take a look at your blog in Safari,
    it looks fine however, if opening in Internet Explorer, it has some
    overlapping issues. I simply wanted to provide you with a quick heads up!

    Aside from that, wonderful site!|
    A person necessarily lend a hand to make seriously posts I would state.
    That iss the vedry first time I frequentfed your
    web page and up tto now? I surprised with the analysis yoou
    made to create this actual put up incredible. Wonderful activity!|
    Heya i’m for the first time here. I came across this board aand I find
    It relly useful & it helped me out much. I hope to give something back and aid
    others such as you aided me.|
    Hey there! I just want too ofvfer you a big thymbs up for the excellent info you’ve got right
    here on this post. I will be coming back to yor website for more soon.|
    I all the time used to study piece of writing in news papers but now aas I am a
    user of net so from now I aam using net for posts, thanks tto web.|
    Your mode of telling all in this piece of writiing is in fact good, all be
    able to effortlessly know it, Thanks a lot.|
    Hi there, I discovered your blog by the use of
    Google at the same time as searching for a similar topic,
    your web site got here up, it looks great. I have bookmarked it in mmy google bookmarks.

    Helo there, simply was alert to youhr weblog via Google, and folund that it’s really informative.
    I am going to be careful for brussels. I’ll be grateful if you conyinue
    this in future. A lot of otgher people will be benefited
    out of your writing. Cheers!|
    I am curious to find out what blog platform you have been utilizing?
    I’m experiencing some minor security issues with my latest site and
    I’d like too find something more risk-free. Do you have any recommendations?|
    I am extremely impressed with your writing skills and
    also with the layout on your weblog. Is this a paid theme orr did you customize it
    yourself? Anyway keep up the nice quality writing,
    it’s rare to see a nice blog like this one today.|
    I am extrmely inspired with your writing talents and also with the format for your blog.
    Is thzt this a paid theme or did you customize iit
    your self? Either way keep up the nice quality writing, it is rare to look a great
    blog like this one nowadays..|
    Hi, Neat post. There is a problem along with your site in web explorer, may test this?
    IE nonetheless is the markett chief and a biig portion of folks
    will leavee outt your excellent writing because of this problem.|
    I am not sure where you’re getting your information, but great topic.
    I neds to spend some time learning much more or understanding more.
    Thanks for excellent info I was looking for this information for mmy
    mission.|
    Hi, i thinjk that i saw you visited my webb site so i came
    to “return the favor”.I am trying to find
    things tto enuance my web site!I suppose its ok to use a few of your \

    Reply
  44. http://zaijiahao.com/comment/html/?349418.html

    Right here is the perfect web site for anyone who would like to understand this topic.
    You understand so much its almost hard to argue with
    you (not that I really will need to…HaHa). You certainly
    put a fresh spin on a subject which has been discussed for a long time.
    Excellent stuff, just excellent!

    Reply
  45. casaleao.com

    Hi there, just became aware of your blog through Google, and found that it’s really informative.

    I’m gonna watch out for brussels. I’ll be grateful if you continue this in future.
    Many people will be benefited from your writing.
    Cheers!

    Reply
  46. buy cheapest prometrium shop europe

    Does your website have a contact page? I’m having trouble locating it but, I’d like to
    send you an email. I’ve got some recommendations for your blog you might
    be interested in hearing. Either way, great site and I look forward to seeing it improve over time.

    Reply
  47. wikistockowners.3171443702.net

    Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that
    automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and
    was hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading your blog
    and I look forward to your new updates.

    Reply
  48. can i buy coreg in stores

    Hey fantastic blog! Does running a blog like this require a massive amount work?
    I have absolutely no knowledge of computer programming however I was hoping to start my own blog soon. Anyhow,
    if you have any ideas or techniques for new blog owners please share.
    I know this is off subject however I simply wanted to ask.

    Cheers!

    Reply
  49. anti skid tape

    Wonderful goods from you, man. I have understand your stuff previous to and you are
    just too great. I actually like what you have acquired here, really like what you’re saying and the way in which you say it.

    You make it enjoyable and you still care for to keep it smart.
    I can not wait to read far more from you. This is really a wonderful site.

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *