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!

17,934 Comments

  1. Donna

    For glamorous London cooking expertises
    enjoy this one and others, from cooking to fine art courses and also coming from floristry to digital photography
    workshops, look at Obby They are actually also managing a competitors for a Cook’s Dining table
    expertise along with Kouzu’s head cook, Xia Jia Tian, worth over  ? 400.

    Reply
  2. Gia

    The lesson layout of Piano Mastery Course assists trainees
    obtain paying attention capabilities quicker compared
    to in a personal course.

    Reply
  3. uslugi grawerskie

    Magnificent items from you, man. I’ve have in mind your stuff prior
    to and you’re just extremely excellent. I actually like what you have obtained right here, certainly like what you are stating and the best way
    wherein you are saying it. You are making it entertaining and you still
    take care of to stay it wise. I can not wait to learn much more from you.
    That is really a great site.

    Reply
  4. Elizabeth

    Knowledge received his profession debut that he was actually exceptionally swift however he definitely
    cemented his qualifications as a competitor when traveling to the
    Kentucky Derby with an exceptional gain in the Quality 1 Los Alamitos Cash money Call Futurity.

    Reply
  5. Lemuel

    Disadvantage categoría de elite, un pedigrí prometedor y conexiones del Salón de los
    angeles Fama, Proficiency pasa el visto bueno en todas las
    casillas como uno de los que grass que observar en el intento por los angeles 2017 Three-way Circle.

    Reply
  6. hotel pod krakowem

    Hello! I’ve been following your web site for a long time now and finally got the bravery to go ahead
    and give you a shout out from Humble Tx! Just wanted to mention keep up the good job!

    Reply
  7. Alica

    In this knowledge course I am actually heading
    to examine in detail exactly how investor drift happens, the consequences, and after that how you can resolve
    that once and for all.

    Reply
  8. Giselle

    London cooking schools supply the possibility to profit from the finest chefs along with quick and easy,
    exciting and available food preparation training class which look to certainly not just enhance
    your cooking abilities forever but do so in a relaxed
    and also affable environment.

    Reply
  9. Rickie

    At the initial EFT masterclass (kept in London in Oct 2007) I was welcomed to refer
    to the Colour of Pain strategy.

    Reply
  10. san diego carpet repair

    With this Blackberry spy software you will not be left in the
    dark. Some of these applications you can get as spy on mobile SMS
    free applications. By reading their text
    messages, you can find if your child has a problem with drugs,
    anorexia, bulimia, alcoholism, or unwanted pregnancy.

    Reply
  11. chevrolet colorado

    It is not my first time to go to see this site, i am visiting this site
    dailly and get good facts from here daily.

    Reply
  12. http://blogs.rediff.com/

    In knowledge learning class, students should completely recognize (illustrate proficiency of) the component just before proceeding to the upcoming subject.

    Reply
  13. masterclass kitchens sherborne

    Just what you really must know is actually whether proficiency is actually a far better
    stat after that permitted’s point out crit or haste.

    Reply
  14. If you are actually trying to experience enjoyable and relaxed cooking food study groups select a Greater london food preparation university which centres its classes on individuals like you;
    property cooks or even foodies, as opposed to specialists.

    Reply
  15. margarettebowling.postbit.com

    In a mastery finding out atmosphere, the instructor
    guides a variety from group-based educational strategies, along with frequent and certain comments using diagnostic, formative exams, as well as routinely improving
    errors students create along their knowing pathway.

    Reply
  16. Christin

    Italian kitchens constantly have tons of sun beaming through which truly warms up the
    space.

    Reply
  17. jeanneimler04494.host-sc.com

    London cooking schools provide the option to gain from the
    very best chefs along with effortless, fun and accessible cooking training class which aim to certainly not only boost your
    cooking skill-sets forever however do this in a loosened up
    and also friendly environment.

    Reply
  18. Bitcoin Brunei

    I don’t even know how I ended up here, but I thought this post was great.

    I don’t know who you are but certainly you are
    going to a famous blogger if you are not already 😉 Cheers!

    Reply
  19. Adell

    I wanted to thank you for this very good read!!

    I absolutely enjoyed every little bit of it. I have got you
    bookmarked to check out new stuff you post…

    Reply
  20. elliotmeyer50537.myblog.de

    The lesson layout from Piano Mastery Lesson aids
    students get listening closely skills more quickly than in a specific
    session.

    Reply
  21. proplex

    Howdy, i read your blog occasionally and i own a similar one and i was just wondering if you get
    a lot of spam comments? If so how do you reduce it, any plugin or anything you can recommend?
    I get so much lately it’s driving me mad so any assistance is very much appreciated.

    Reply
  22. louisapriestley42.postbit.com

    Steady Course también produjo a Very clear Sailing, media hermana de Knowledge quien fue ganadora clásica
    sobre 1 1/16 de milla.

    Reply
  23. Melba

    This class is about you, your skin kind as well as facial structure,
    and also checks out the best ways to best your appearance,
    delivering interior peace of mind.

    Reply
  24. Rosalina

    Learn Tricks Many Guy Are going to Never ever Find out about Online Dating
    along with the Alex Hitchens’ Online Internet dating Masterclass.

    Reply
  25. how can i make my picture into a cartoon

    Hmm it looks like your blog ate my first comment (it was extremely
    long) so I guess I’ll just sum it up what I submitted and say,
    I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to everything.
    Do you have any tips for beginner blog writers?
    I’d really appreciate it.

    Reply
  26. OMNIScanner 2

    Thanks in support of sharing such a nice thinking, article is pleasant, thats why i have read it fully

    Reply
  27. agen judi bola sbobet

    Qual?it? articl?s or reviews is the ?ecret to invite the users tto go to see the web page, that’? what th?s web page
    iss providing. http://www.xmyhsm.com/comment/html/?185180.html

    Reply
  28. free casino games and poker

    casino online
    casino g
    online casinos 2016
    casino online for fun

    Reply
  29. Bernadine

    Subscribe for the FREE Online Dating MasterClass and also lastly receive the assurance
    you have to stimulate her enthusiasm, both online and
    off.

    Reply
  30. cheap pamelor buy visa australia

    I’ve been exploring for a bit for any high-quality articles or blog posts on this sort of area
    . Exploring in Yahoo I at last stumbled upon this site.
    Reading this info So i am satisfied to exhibit that I’ve an incredibly good uncanny feeling I found out exactly what I needed.
    I so much for sure will make sure to don?t omit this
    web site and give it a look on a continuing basis.

    Reply
  31. Maxie

    One more best FDA accepted Garcinia Cambogia item is that made by High quality Encapsulation – an U.S.A health supplement maker.

    Reply
  32. 918Kiss

    Greetings from Carolina! I’m bored to tears at
    work so I decided to browse your site on my iphone during lunch break.
    I really like the information you present here and can’t wait
    to take a look when I get home. I’m amazed at how quick your blog
    loaded on my mobile .. I’m not even using WIFI, just 3G ..
    Anyhow, awesome site!

    Reply
  33. http://cranberryforum.altervista.org

    Hello I am so delighted I found your blog, I really found you by
    accident, while I was looking on Aol for something else, Nonetheless I am here now and would just like to say
    thank you for a tremendous post and a all round interesting blog (I
    also love the theme/design), I don’t have time to go
    through it all at the minute but I have bookmarked it and
    also added in your RSS feeds, so when I have time I will be back to read more, Please do keep up the fantastic job.

    Reply
  34. flame retardant carpet protection

    Hi there, yup this piece of writing is in fact good
    and I have learned lot of things from it regarding blogging.
    thanks.

    Reply
  35. management of finance

    alw?ys i u?ed to read smaller c?ntent t?at also ?lear their motiv?, and that
    is also happening with this post w?ich I am reading now.

    Reply
  36. how to look at a private instagram

    Great article. I will be dealing with a few of
    these issues as well..

    Reply
  37. anchortext

    The taste is fresh, and might take some adjusting to (I personally hate people who add a sweet overtone) however the effect is day long energy and much less stress on the body.
    As such, please make use of an English grammar software to generate sure
    all flaws are properly addressed. They have a
    very simple organizational constitution that branches out from the midpoint and are built
    using lines, symbols, words and images in accordance with clear-cut, common sense principles.

    Reply
  38. apk downloads for pc

    %Keep reading to find out what your favorite residents of Capeside are up to now.

    Reply
  39. moise

    I conceive you have remarked some very interesting points , thanks for the post.

    Reply
  40. nhung stt hay

    With havin so much content and articles do you ever
    run into any issues of plagorism or copyright violation? My
    website has a lot of completely unique content I’ve either created
    myself or outsourced but it appears a lot of it is popping it up all over the web without my permission. Do you
    know any techniques to help reduce content from being
    ripped off? I’d certainly appreciate it.

    Reply
  41. trend clothing fashion

    I ju?t coukd not depart your web site prior to sugge?ting that I actually lo?ed the standard infkrmat?on an individual provide in your
    guests? Is going to be b?ck continuously in order to cheeck out new posts http://www.arm9board.net/wiki/index.php?title=User:UnaOchs648

    Reply
  42. www2q.biglobe.ne.jp

    I’m not that much of a internet reader to be honest but your sites really nice, keep it up!
    I’ll go ahead and bookmark your website to come back in the future.

    Many thanks

    Reply
  43. thi cong ho ca koi ngoai troi

    Awesome post.

    Reply
  44. a

    Hi! I just would like to give you a huge thumbs up for the great
    information you have got right here on this post.
    I’ll be coming back to your website for more soon.

    Reply
  45. chevrolet spark

    Thanks for a marvelous posting! I quite enjoyed reading it,
    you are a great author. I will ensure that I bookmark your blog and will eventually come back
    in the future. I want to encourage you to continue your great job,
    have a nice weekend!

    Reply
  46. %Links can also be presented as hot spots on an image, or a button which can be clicked. Sometimes when we click on links, we are magically transported to a new web page.

    Reply
  47. a

    Howdy just wanted to give you a quick heads up.

    The text in your content seem to be running off the screen in Safari.
    I’m not sure if this is a formatting issue or something to do with internet browser compatibility but I figured I’d post
    to let you know. The design and style look
    great though! Hope you get the issue solved soon. Cheers

    Reply
  48. http://www.ginim.com/icoechatio4501

    LiveEdu is a decentralized venture studying community for folks to learn to construct real merchandise.
    The Company will concern MNTP tokens as a one-off exercise through the Sale Period and
    no additional issuance will be potential. Many blockchain based mostly initiatives undergo an analogous drawback: a limited base of
    users who’re already accustomed to and comfy utilizing cryptocurrency.
    He’s proficient in financial administration and data evaluation,
    with an emphasis on designing and implementing business strategies, plans and procedures.
    Some cryptocurrency exchanges could on their very own accord enable EOS Tokens to proceed buying and selling,
    however the exchanges will be unable to just accept new deposits or authorize
    withdrawals of EOS Tokens.

    They’re rewarded with SNOV tokens instantly after the supplied data was
    bought, and receive inside credit for database
    filling. has been designed by a consortium of professionals with over one hundred years of mixed recruitment expertise,
    in consultation with specialists who can create the
    software to leverage blockchain technology to solve actual-world business issues.
    He was engaged within the growth of numerous techniques for knowledge
    processing: from methods for the work of copywriters to financial accounting
    systems.

    The pockets can be connected to the leading crypto-exchanges and permit customers to trade and convert fiat currencies or other cryptocurrencies reminiscent of Ethereum or Bitcoin into NGC.
    Founded with the mission to make financial transactions
    in stocks and the gaming market extra transparent, secure and accessible to everyone, the
    NAGA group stands for disruptive and innovative solutions in the online buying and selling and gaming world.
    And making an allowance for rapid improvement of fintech and blockchain markets we’re planning on getting 520% each
    year income for all of our buyers.

    Customers can analysis and invest in tokenized property, or
    launch a crowdsale for a venture. Purchaser acknowledges that Firm may refuse to
    distribute EOS Tokens to Buyer till such requested
    info is offered. GoldMint PTE LTD firm registered in Singapore
    is the vendor of MNT tokens. Eloplay Token (ELT) is a ERC20 commonplace Token on the Ethereum platform.
    Corporate legal guidelines in most jurisdictions (including the British Virgin Islands, the place our
    Group company is included) do not yet assist blockchain-primarily based share registers.

    I have been a purchaser and holder of bitcoin and Etherreum
    for a very long time but this would be the first ICO I
    purchase into. Of their personal account, every token holder will
    be capable of vote on all main points concerning the project growth.
    Egle has three+ years of expertise in enterprise improvement from the e-gaming industry.
    You pay with bitcoin, ether or Fiat currencies in an token sale, and in return you receive tokens of the brand new project.
    NAGA Tokens might be saved by the NAGA Token Sale company
    founders in a chilly storage.

    As talked about above, the EOS Tokens would not have any
    rights, uses, objective, attributes, functionalities or features, categorical
    or implied. KICKICO is an online blockchain know-how-based mostly platform for reward-primarily based and donation-primarily based crowdfunding, which provides an access to
    on-line fundraising tools carried out with the help of blockchain technology and sensible contracts.
    We believe that blockchain is the subsequent major platform for innovation and a foundational expertise – that
    it has the power to vary the way each enterprise and social constructions work.

    Not one of the Parties makes any representations or warranties, categorical
    or implied, including, with out limitation, any warranties of
    title or implied warranties of merchantability or health for a selected purpose with
    respect to the EOS Distribution Contract, the EOS Token Contract
    or the EOS Tokens or their utility, or the ability of anyone
    to purchase or use the EOS Tokens. Given his policymaking expertise his analysis activities also
    include the tendencies and eventualities of future world developments,
    notably the function of information technology and innovation in those trends.

    A Full-Stack developer with extensive experience in blockchain expertise,
    smart contracts and decentralized utility development.
    CoinDash, in line with Smith and Crown , is a blockchain-based mostly firm that
    mixes portfolio management instruments and social-buying and
    selling through Ethereum smart contracts to help
    users handle their investment portfolio and benchmark it
    towards the market and other customers. We are not responsible for withholding, collecting,
    reporting, or remitting any gross sales, use, value
    added, or similar tax arising from the your buy of MNTP tokens.

    An Ethereum smart contract proves receipt of incoming funds
    for EOS Tokens. Because of the in depth
    expertise of the NAGA staff in the growth of buying and selling platforms and the setting up of API connections with lending
    firms, these tasks rest on a stable foundation of expertise and
    profitable monitor document. Tokens could be exchanged for ETH,
    and BTC, by way of change companies. To make
    your token standard and encourage the investors to purchase it during the
    ICO, you should use the token that’s totally built-in into the corporate construction.

    Reply
  49. volunteersinmission.com

    %The answer is so simple because a very good thing needs some efforts in your side to make its more precious for you. Beastly Download
    Have you any Movie Beastly Online wish, then start some efforts which make its true.

    Reply
  50. Where to get apk files

    %From mourning to sleep my spirit will continue to play on the internet or thinking of language tools, Google Downloader, Google profile, Google Suggest, Google Sites, Google API, directions google, google keyword, Google App etc.

    Reply

Leave a Comment

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