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!

14,130 Comments

  1. Wavetek Acterna MTS-5200e

    Great post however , I was wanting to know if you could write
    a litte more on this subject? I’d be very grateful
    if you could elaborate a little bit more. Thanks!

    Reply
  2. jewellery boxes and packaging

    E?ery weekend i used to go to se? thi? site, because i wish for enjoyment, since this this
    website conations truly good funny stuff too.

    Reply
  3. poker online

    I every time spent my half an hour to read this website’s posts
    all the time along with a muug of coffee.

    Reply
  4. create custom t shirts cheap

    I’m ?eally ?nspired al?ng with your wr?ting abi?ities and a?so with the
    la?o?t f?r y?ur we?log. Is that this a paid theme or did you
    customize it your self? Anyway stay up the excellent quality wr?ting, it is rare to peer a nice
    weblog like this one these days.

    Reply
  5. can packaging

    T?anks a ton for being my personal instructor on t?is area.
    We enjoyed your article very much and mostt of all liked
    tthe way y?u handled the aspect I regard?d as controversial.

    You are always extr?mely kind to readers much like me
    and aid me ?n my lifestyle. Thank you.

    Reply
  6. Williams Labianca

    http://google.us:I’m extremely inspired alonjg ?ith your writing skills as smartly ?swith the format fo? your weblog. ?s this a paid subject oor ?id yo? customize it y?urself??ither way stay ?p the nice quality writing, it’s uncommon to ?oo? agreat weblog likke this one the?e days..

    Reply
  7. dominobet info

    Unquestionably believe that which you stated. Your favorite justification seemed to be on the web the simplest
    thing to be aware of. I say to you, I certainly get annoyed while people consider worries that they plainly don’t know
    about. You managed to hit the nail upon the top as well as defined out the whole thing without having
    side-effects , people could take a signal. Will probably be back to
    get more. Thanks

    Reply
  8. Hilario

    In fact, a porn blocker ?an be a nice and decnt method t? inform yo? w?at
    your youngster ?omes t? an eend to. ==> ?t provi??? compl?te
    det?il c?ncerning the hosting activities and downloaded items.
    ?ow if ?o? have a few questions that ?re causing you too be hesitate on ?hether
    y?u need to get ans?er to addiction tto porn, ?ere’s are th? 3 m?st common questions you learn ?bout it.

    Reply
  9. MiniRAE 3000

    Hi, I check your blog like every week. Your story-telling style is witty, keep doing what you’re doing!

    Reply
  10. agen domino qq online

    ?hank y?u for sme other great article. Where else may just anyone get that kind off information in such an ideal method of writing?
    I’?e a p?esentation next we?k, and I am on the loook fo? such
    info. https://information.za.org/article.php?id=38698

    Reply
  11. Dairy intolerance

    Sweet blog! I found it while surfing around on Yahoo News.
    Do you have any suggestions on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Cheers

    Reply
  12. Arlie

    The help ?nd support ?f tho?e around addicts i? essential
    f?r too ?ong tedm tips to get ?tarted on th? metghod t? recovery: * Addiction ?s nott a ‘terminal’ disease.

    ?here are plenty men who watch thi? business doing
    the?r th?ng on screen u?ing a h??e penis then decide t?ey would lik? ?ne much like that.

    ? comment ‘sexy’ is tak?n as ? compliment not realizing t?at it’s a blatant judgment offered ??ur ?mage and loo?, reducin one t?o the status of ?n mere commodity.

    Reply
  13. cheapest methimazole order shopping

    bookmarked!!, I like your blog!

    Reply
  14. Anritsu MS2711A Spectrum Analyzer

    Wow, wonderful weblog format! How lengthy have you ever been running a blog for?
    you made blogging look easy. The whole look of your website is magnificent,
    as neatly as the content material!

    Reply
  15. download video bokep

    Right here is the perfect site for anybody who really wants to understand this topic.
    You understand a whole lot its almost hard to argue with you (not that I personally will
    need to…HaHa). You certainly put a new spin on a topic that’s been written about for a long time.

    Excellent stuff, just wonderful!

    Reply
  16. New Mexico Attorney

    Fantastic website. Plenty of useful information here. I am sending
    it to several buddies ans also sharing in delicious. And certainly, thank you
    in your sweat!

    Reply
  17. HOTEL BOOKING NOW

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

    Reply
  18. ??????? ??????

    Nice post. I was checking continuously this blog and I am impressed!
    Very useful information particularly the last part 🙂 I care for such
    information much. I was looking for this certain information for a long time.
    Thank you and good luck.

    Reply
  19. JDSU MTS-6000 OTDR

    Its such as you read my mind! You seem to grasp
    a lot about this, such as you wrote the book in it or something.
    I believe that you simply can do with some % to force the message
    home a bit, but instead of that, this is excellent blog.
    An excellent read. I’ll definitely be back.

    Reply
  20. Twyla

    Hello everybody, here every one is sharing these know-how, thus it’s pleasant to read this blog, and I used to pay a quick visit this web site all
    the time.

    Reply
  21. misterqq

    The ot?er day, while I was at work, my co?sin st?ile my ip?one and tested to see if it can survive a forty
    foot drop, ?ust so she can be a youtube sensation. My ?pople ipad is no?w broken aand she has 83 views.
    I know thi is ompletely off tol?c but I had
    too share it with someone! http://tucasa.hol.es/user/profile/179257

    Reply
  22. seniorsexual.com

    Chinese language regulators have banned businesses from raising funds
    utilizing initial coin offerings (ICOs). Whereas regular investments are already unstable by nature, ICOs are even more so.

    There is no assure what number of of these startups with ICOs will actually final.
    This will be CoinList’s first ICO, they usually’ve labored with legal professionals to create a SAFT – or Easy
    Agreement for Future Tokens, which in itself is a safety.
    Market cap is a great indicator for investors to make use of to achieve a better understanding of the undertaking
    dimension and growth potential. OneGram, a Dubai expertise firm, has launched the first-ever
    digital currency backed by gold in an initial offering anticipated to lift greater than $500
    million in capital, company chief govt officer Ibrahim Mohammed instructed
    Reuters in an interview late on Tuesday.

    That scares the heck out of me, largely as a result of it’s the
    identical factor that drove sentiment in the course of the web bubble in 1999 — and, frankly, that drives most bubbles: We’re all
    making money as a result of we’re all being profitable!” When a cab driver offers you stock ideas about the next internet sensation in 1999, that is scary… when the waitress talks
    up the twelve houses she purchased with no money down in 2005, that
    is frightening… and when the high school child who mows your lawn tries to convince you to buy the most recent initial coin offering for a brand new cryptocurrency in 2017, I can’t assist
    but really feel that same twinge of fear.

    After the primary hour the price will enhance as extra
    investments are made, and that rising worth
    will be visible to investors earlier than they resolve
    to participate. Onegram, a Sharia-compliant cryptocurrency backed by gold is looking for $500 million with its
    crowdsale of 12 million OGC tokens which launched as
    Ramadan started on Friday. If you happen to look at
    different teasers it acknowledged that the twenty eighth ico had a former goldman sach’s man on board and it
    was based mostly on time. 14. Danger of an Unfavorable Fluctuation of Crypto currency Value:
    the Firm intends to make use of the contributions acquired to fund the
    event of the GoldMint Platform and various different working
    expenses.

    Traders send BTC or ETH to the revealed address, in return for the new tokens.

    Bankera launched an ICO on August 28, 2017 to fund their growth of licensed conventional and funding banking providers for the
    blockchain market. Building upon the properly-established enterprise mannequin of shared workspaces, the mission transforms
    traditional workplace rental into a brand new-technology community-based ecosystem where
    one can share, promote or hire out excessive-high quality workplace
    areas utilizing Ethereum and Waves-primarily based digital tokens.

    As you’ll be able to see, small company shares have outperformed
    each other sort of investment over the long term.
    (c) To the extent of any conflict with these Terms, the Platform Terms and Policies shall management
    with respect to any issues regarding the use of MNT tokens in connection with
    any actions made throughout the GoldMint Platform. An investor must spend zero.04 to purchase ICOTF stock, as the closing iCo Therapeutics stock price is zero.04.

    The total market value as denoted by three.29M for iCo
    Therapeutics, is the market value of the corporate’s outstanding shares.

    (a) To the fullest extent permitted by relevant regulation, you will indemnify, defend and maintain harmless
    the Company and our respective previous, current and future employees, officers,
    directors, contractors, consultants, fairness holders, suppliers,
    distributors, service suppliers, mother or father firms, subsidiaries, associates,
    agents, representatives, predecessors, successors and assigns (the “Firm Events”) from and towards all
    claims, calls for, actions, damages, losses,
    costs and bills (including attorneys’ fees) that arise from or relate
    to (i) your purchase or use of MNTP, (ii) conversion of
    your MNTP tokens into MNT tokens; (iii) your responsibilities or obligations underneath
    these Phrases, (iv) your violation of these Phrases, or (v) your violation of any rights of another person or
    entity.

    The launch and Preliminary Coin Offering (ICO) of OneGram, a brand new gold-backed,
    Sharia-compliant crypto foreign money unveiled on Could 2 at Ritz
    Carlton, Dubai International Financial Middle, which has been coated
    by Forbes and Reuters, is nice news for investors and
    digital cash fanatics alike. Disclosure: Several members of the Futurism
    team, including the editors of this piece, are personal
    investors in numerous cryptocurrency markets. To contribute,
    backers purchase a challenge’s token with the hope that it will give
    them access to a technology platform, or admire in value like an investment.

    Many people in the blockchain neighborhood suppose that ICOs are a long-awaited answer
    for non-profit foundations to raise capital, especially if they wish
    to build open-supply software program. We have seen funds cost up to forty%
    performance fees, and some charging 5%. Additionally, so far as
    we all know we, are the first ones who are issuing a cryptocurrency that needs to
    present liquidity to those tokens. The ICO,
    short for initial coin providing, adopted several comparable, equally successful funding occasions, and the numbers are rising.

    TIP: Particularly, for ethereum-primarily based ICOs, you will
    generally need a ERC-20 token friendly wallet” (that means a wallet that can hold the type of
    tokens you may be utilizing). actual time cryptocurrency and bitcoin information web site.
    KICKICO is a web-based blockchain technology-primarily based platform for reward-primarily based and
    donation-based crowdfunding, which provides an entry to on-line fundraising tools carried out with the help of blockchain know-how and smart contracts.
    Bitcoin contributions shall be sent to the GoldMint Bitcoin pockets address specified on the
    GoldMint web site.

    An Preliminary Coin Providing (ICO) for cryptocurrency is like an Preliminary Worth Offering (IPO) on the stock market, but as a substitute of shopping for inventory in a company you buy digital coins.

    The first, usually accepted option is the generation of pools for the wants of the company,
    similar to payment for localization providers, referral packages,
    bounty awards, etc., in addition to pre-sales for pre-ICO and ICO.
    A minimum of one ICO (Ethereum’s) has created massive earnings for early investors.

    Reply
  23. cod

    Pretty nice post. I just stumbled upon your weblog
    and wanted to say that I’ve really enjoyed browsing your blog posts.

    In any case I’ll be subscribing to your rss feed and I hope you write again soon!cod

    Reply
  24. daftar situs judi poker

    My br?ther s?ggeste? I might like this website.
    He was entirely right. This pozt actually made m? day.
    You cann’t imagine simply ho? much time I had spent ffor thi?s information! Thanks!

    Reply
  25. Agen Dominoqq Online Terpercaya

    Th?s website was… ho? do I say it? Relevant!! Finally ? have found ?omething
    which ?elped me. Thanks a lot! http://www.brodun.com/comment/html/?177769.html

    Reply
  26. jingtai.phpweb.cn

    If ?ou wish for to increase your knowledge just keep visiting this web site and be update?d w?th the latest news update posted here. http://jingtai.phpweb.cn/comment/html/?82012.html

    Reply
  27. channel grate drain

    ?ow, that’s what I was seeking for, what a data!
    present here at this webpage, thanks adm?n of this web page.

    Reply
  28. EXFO MaxTester FOT-920 Fiber Optic Test

    Awesome blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple adjustements would really make my blog jump out.
    Please let me know where you got your theme. Kudos

    Reply
  29. Alljobspo sembawang

    I’ve recently started a blog, the information you provide on this web site has helped me tremendously. Thank you for all of your time & work.

    Reply
  30. Anritsu MS2721A

    We’re a group of volunteers and opening a new scheme in our community.
    Your site provided us with valuable info to work on. You’ve done an impressive job and our entire community will be grateful
    to you.

    Reply
  31. JDSU MSAM OTDR

    An impressive share! I’ve just forwarded this onto a colleague
    who had been conducting a little research on this. And he actually bought me breakfast
    simply because I discovered it for him… lol.
    So allow me to reword this…. Thank YOU
    for the meal!! But yeah, thanx for spending some time to talk about this
    matter here on your blog.

    Reply
  32. http://bodybuildingnutrients.com,

    ?hese ar? t?uly ?reat ideas ?n on the topic of blogging.
    ?ou have touched ?ome nice factors here. Any
    way keep uup wrinting.

    Reply
  33. You really make it appear so easy together with your presentation however I in finding this matter to be actually something which I think I would by no
    means understand. It seems too complex and extremely broad for
    me. I’m having a look ahead in your subsequent publish, I will
    attempt to get the dangle of it!

    Reply
  34. Leesa

    Hi, i think that i saw you visited my weblog so i came
    to “return the favor”.I am attempting to find things to enhance my website!I suppose its ok to use a few of your ideas!!

    Reply
  35. Kassandra

    Very good info. Lucky me I ran across your website by chance (stumbleupon).
    I’ve saved it for later!

    Reply
  36. Melba

    I’m extremely impressed together with your writing skills as smartly as with the format on your weblog.
    Is that this a paid theme or did you customize it yourself?
    Anyway stay up the nice high quality writing, it is rare to look a nice blog
    like this one nowadays..

    Reply
  37. agen domino qq online Terpercaya

    Heya i’m for t?? first time here. I came across this board and I in finding It rreally useful
    & it helped me out a lot. I’m hoping too give one thing back and ?elp others like you helpe?d me. http://www.agropromnika.dp.ua/?option=com_k2&view=itemlist&task=user&id=2105377

    Reply
  38. situs Judi domino Qq online

    alway? i used to ?ead smaller articles whi?h as
    wel clpear t?eir m?tive, and that is also happening with this article
    which I am reading here.

    Reply
  39. www.deathbycaptcha.com

    The Parents Television Council ?lso doubts Viacom-MTV’? sincerity and
    “Skins” producers pledge t? wash up itts act
    to conform to acceptable standards. ?here ar? plenty m?n who watch these guys do?ng their
    t?ing on the watch’s screen ?aving a ?uge penis t?en decide hey ?ould llike one
    j?st l?ke that. His studios began playing fot it market ?y creating film ?hich
    have m??e foreplay aand story lines ?hich apparently appeal more to women.

    Reply
  40. best synthetic urine review

    Do you have a spam problem on this website; I also am a blogger, and
    I was wondering your situation; we have created some nice practices and we are
    looking to trade methods with others, be sure to shoot me an e-mail if interested.

    Reply
  41. ??? ???? ????

    What’s up Dear, are you in fact visiting this
    web site daily, if so then you will definitely take nice knowledge.

    Reply
  42. free software for students

    Thanks for sharing such a fastidious thought, post is pleasant, thats why i have read
    it fully

    Reply
  43. Wavetek Acterna MS-1400

    I love it when people get together and share thoughts.
    Great site, keep it up!

    Reply
  44. Master S331D

    bookmarked!!, I really like your blog!

    Reply
  45. www.liveinternet.ru

    Satisfy be actually well-mannered- if you can easily not join the class
    you are registered for, feel free to let us called very soon as possible.

    Reply
  46. cheap sports jerseys wholesale

    cheap sports jerseys wholesale.Buy Cheap Jerseys
    Custom china for authentic, wholesale football stitched cheap jerseys from china free shipping
    here to get free shipping. Sell high quality low price.

    Reply
  47. internet marketing jobs in delhi

    Part II: ESSENTIAL INTERNET MARKETING INSTRUMENTS. http://griffithzone.com/UserProfile/tabid/61/userId/12616293/Default.aspx

    Reply
  48. channel drains for pools

    It’s r?ally a great and helpful piece of info. I am glad that
    y?u simply sha?ed this useful inf? ?ih us. Please stay us up
    to date like this. Thank you for shar?ng.

    Reply
  49. gia xe chevrolet cruze

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

    Reply
  50. xxx beeg

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

    Reply

Leave a Comment

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