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!

9,531 Comments

  1. ?????? ???? ?????? ?????

    Hello, I enjoy reading all of your article post.
    I wanted to write a little comment to support you.

    Reply
  2. cristoparatodaslasnaciones.com

    Hey just wanted to give you a quick heads up.
    The words in your post seem to be running off the screen in Safari.
    I’m not sure if this is a format issue or something to do with web browser compatibility but I thought I’d post to let you
    know. The design and style look great though! Hope you get the problem
    solved soon. Thanks http://Cristoparatodaslasnaciones.com/index.php/component/k2/itemlist/user/1607217

    Reply
  3. www.hying.co.kr

    Hello, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of
    spam remarks? If so how do you stop it, any plugin or anything you can suggest?
    I get so much lately it’s driving me crazy so any support is very much appreciated.

    Reply
  4. automatic social media posting app

    Hi there every one, here every person is sharing these kinds of know-how, thus it’s fastidious to read this web site, and I used to visit this weblog daily.

    Reply
  5. Poltax Toru?

    Do you have a spam issue on this blog; I also am a blogger, and I was
    curious about your situation; many of us have created some nice practices and we are looking to trade strategies
    with others, be sure to shoot me an e-mail if interested.

    Reply
  6. Extenze Real Reviews

    I seriously love your website.. Very nice colors & theme.
    Did you develop this web site yourself? Please reply back as I’m hoping to create my own personal site and would like to find out
    where you got this from or exactly what the theme is called.
    Thank you!

    Reply
  7. ????? ??? ??????? ?? ?????

    So if a lodge practices shortchanging those clients then most likely it
    is going to find yourself with bad critiques and a lodge to keep away from.

    Reply
  8. Antalya Escort

    Hey there! Do you use Twitter? I’d like to follow you if that would be ok.

    I’m definitely enjoying your blog and look forward to new posts.

    Reply
  9. Najlepsza interes do szamb zbiorników Zobacz

    I am truly grateful to the owner of this web page
    who has shared this great piece of writing at at
    this place.

    Reply
  10. POLYTRONGLASS

    I visit everyday some web pages and websites to read posts, but this webpage
    offers quality based writing.

    Reply
  11. Clarissa

    It is not my first time to pay a visit this web page, i am visiting this web site dailly and get nice data
    from here daily.

    Reply
  12. best e cigarette blu

    I am extremely impressed ttogether with your writing abilities
    and also with the layout iin your blog. Is that this a paid topic or did you customize iit your self?
    Anyway stay up the excelent high quality writing, it’s uncommon to
    see a nice weblog like this one today..

    Reply
  13. post421243264

    If buy the industry for sofa tables, but have a curved sofa, you may not realize a little of the difficulties which might be
    about to confront anyone. When you first go to the store, it’s possible you’ll go on the sofa table section and observe all styles of things being given. But soon, you’ll notice that none of them are going to quite fit behind that curved sofa
    that you have. Most of them are angular in shape for traditional sofas.
    So what is your solution? Well you have a few from them.

    Reply
  14. https://markhearnnetwork.yolasite.com

    Your mode of telling all in this piece of writing is truly fastidious, every
    one be capable of easily understand it, Thanks
    a lot.

    Reply
  15. Maria Isadora

    Olá ! Você sabe se eles fazem qualquer plugins para auxiliar
    com SEO ? Estou tentando meu blog para classificar para algumas palavras-chave específicas, mas não
    estou vendo muito bom ganhos . Se você souber de qualquer parte por favor.
    Obrigado !

    Reply
  16. apple beauty tips in urdu

    This is my first Teen Beauty Tip: skincare.

    Reply
  17. facebook sign up

    A number of info to create a fan web page.

    Reply
  18. Marilou

    Singing w?rship s?ngs is nice but that?s not t?e oly mewthod to worship.?

    Daddy said, maybe to makoe Larry stop singing. ?Ther are ots of methods to worship.

    Reply
  19. buy florinef shop europe

    Wow that was strange. I just wrote an very long comment but after I clicked submit my comment
    didn’t show up. Grrrr… well I’m not writing all that over again. Regardless,
    just wanted to say great blog!

    Reply
  20. film

    Attractive section of content. I just stumbled upon your weblog and in acdcession capital to assert
    that I get in fact enjooyed account your blog posts.

    Any way Iwill be subscribing to your augment aand even I achievement you access consistently fast.

    Reply
  21. ilmu seo google

    What’s up friends, its fantastic paragraph concerning teachingand fully defined, keep
    it up all the time.

    Reply
  22. Bit.ly

    http://bit.ly/2hp3nTF We were 3000 miles from home when my heart gave up well as over 50% of it died and scarred over,
    quite simply couldn’t pump ever again. Unfortunately, the Go Cart Track must be closed to create means for these developments.
    My father had so much he would have taught me but he refused to attend considered one of my shows being an adult and teen.

    Reply
  23. ???? ????? ???????

    This is one web site that lists down hundreds of hotel promotional gives along with promotional codes and there’s one thing for everyone right here.

    Reply
  24. best shredder guitar under 500

    Casters make the shredder movement easy.

    Reply
  25. best vacuum for stairs and carpet

    Hello, this weekend is nice for me, since this occasion i am reading
    this enormous informative post here at my residence.

    Reply
  26. Kimberly

    I am curious to find out what blog system you’re using?
    I’m experiencing some minor security issues with my latest website and I would
    like to find something more risk-free. Do you have any suggestions?

    Reply
  27. Android apps download

    Thanks designed for sharing such a fastidious thinking, paragraph
    is fastidious, thats why i have read it entirely

    Reply
  28. addiction truth

    Hi there, its fastidious piece of writing on the topic of
    media print, we all be aware of media is a enormous source of
    facts.

    Reply
  29. Residual Income

    The remaining amount is the residual pay.

    Reply
  30. factor medicare receivables

    I tend not to leave many remarks, however after looking at a few of the
    comments here WordPress image upload http error – Kramfs Tech
    Chronicles. I actually do have 2 questions for you if it’s okay.
    Is it just me or does it look as if like some of the comments look like they are written by brain dead visitors?
    😛 And, if you are writing at other places, I’d like to keep up with you.

    Could you list of every one of your social community pages like your Facebook page, twitter
    feed, or linkedin profile?

    Reply
  31. chip sat??

    chip sat??

    Reply
  32. ???????????? ?????

    Hi there, I desire to subscribe for this website to obtain hottest updates,
    thus where can i do it please assist.

    Reply
  33. w?oc?awek Biuro rachunkowe

    Howdy just wanted to give you a quick heads up.
    The text in your content seem to be running off the screen in Firefox.
    I’m not sure if this is a formatting issue or something to do with web browser compatibility but I figured I’d post to let you know.
    The style and design look great though! Hope you get the issue solved soon. Many thanks

    Reply
  34. Promotions

    After exploring a handful of the blog posts on your site, I seriously appreciate your technique
    of writing a blog. I saved it to my bookmark website list and will be
    checking back soon. Take a look at my web site as well and tell me how you feel.

    Reply
  35. Buy VigRX Plus In Stores

    Hello, Neat post. There’s an issue along with your site in web explorer, may test this?
    IE still is the marketplace leader and a large element of people will miss your magnificent writing because of this
    problem.

    Reply
  36. trileptal pills order now online

    Amazing! This blog looks exactly like my old one!
    It’s on a entirely different topic but it has pretty much the
    same page layout and design. Excellent choice of colors!

    Reply
  37. bandarq

    Excellent blog! Do you have any tips for aspiring writers?

    I’m planning to start my own blog soon but I’m a little lost
    on everything. Would you advise starting with a free platform like WordPress or go for a paid
    option? There are so many options out there that I’m completely overwhelmed ..

    Any ideas? Appreciate it!

    Reply
  38. chip sat??

    chip sat??

    Reply
  39. www.maoyouhe.com

    I’ll right away seize your rss feed as I can not in finding
    your email subscription hyperlink or e-newsletter service.
    Do you have any? Kindly let me understand so that I could
    subscribe. Thanks.

    Reply
  40. Miranda

    Hi colleagues, how is everything, and what you would like to say on the topic of this post, in my view
    its actually remarkable in favor of me.

    Reply
  41. h2.gntech.ac.kr

    There’s certainly a lot to find out about this issue. I like all of the points you’ve made.

    Reply
  42. address

    I appreciate, cause I discovered just what I was looking for.
    You have ended my four day lengthy hunt! God Bless
    you man. Have a nice day. Bye

    Reply
  43. forum.saavisa.com

    I seriously love your blog.. Great colors & theme. Did you build
    this site yourself? Please reply back as I’m hoping
    to create my own personal blog and would like to find out where you got this from or exactly what the theme is called.
    Appreciate it!

    Reply
  44. Caleb

    Having read this I thought it was extremely informative. I appreciate you spending some time and effort to put this article together.
    I once again find myself personally spending a significant amount of time
    both reading and posting comments. But so what, it was still worthwhile!

    Reply
  45. Brooke

    Superb blog! Do you have any helpful hints for aspiring writers?

    I’m hoping to start my own site soon but I’m a little lost on everything.
    Would you recommend starting with a free platform like WordPress or go for a paid option? There
    are so many choices out there that I’m completely confused ..
    Any ideas? Thank you!

    Reply
  46. dominobet

    Howdy would you mind sharing which blog platform you’re working with?
    I’m looking to start my own blog in the near
    future but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different
    then most blogs and I’m looking for something completely unique.
    P.S Apologies for getting off-topic but I had to
    ask!

    Reply
  47. easy webinar 4 Review

    Perfect piece of work you have done, thijs site is really cool with excelent
    info.

    Reply
  48. adultfriendrfinder

    Aw, this was a really good post. Taking a few minutes and
    actual effort to make a superb article… but what can I say… I
    procrastinate a lot and never manage to get anything done.

    Reply
  49. I’m truly enjoying the design and layout of your website.

    It’s a very easy on the eyes which makes it much more enjoyable
    for me to come here and visit more often. Did you hire out
    a developer to create your theme? Fantastic work!

    Reply
  50. Erlinda

    Hi there, I enjoy reading through your article. I like to write a
    little comment to support you.

    Reply

Leave a Comment

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