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,930 Comments

  1. Jacques

    Oil palms can be a source of long term income.

    Reply
  2. Flexible fire protection closures

    You are so interesting! I do not think I have read
    through something like that before. So wonderful to find someone with a few original thoughts on this subject.
    Really.. many thanks for starting this up. This website is something that is needed on the internet,
    someone with some originality!

    Reply
  3. chevrolet spark

    I really like your blog.. very nice colors & theme. Did
    you create this website yourself or did you hire someone to do it for you?
    Plz reply as I’m looking to design my own blog and would like to know where u
    got this from. kudos

    Reply
  4. arschfick

    Keep on writing, great job!

    Reply
  5. loan money online singapore

    Hey ver? nice bl?g!

    Reply
  6. free personal finance manager

    I ?ave read ?o manny content aboiut thhe blogger lovers but this piece of writing
    is genuinely a good post, keep it u?.

    Reply
  7. youjizz

    My developer ?s trying t? convbince me to m?ve to .net
    from PHP. I hav always disliked th? idea ?ecause of
    thee costs. But h?’s tryiong none th? le?s.
    I’ve been u?ing WordPress ?n various websites fo? ab?ut a ?ear and am worried ?bout
    switching to another platform. I ha?? he?rd
    good thhings about blogengine.net. ?s t?ere a way I ccan transfer ?ll
    m? wordpress cont?nt into it? ?ny help wo?ld ?e ?eally appreciated!

    Reply
  8. I vis?ted a ?ot of we?site but I beelieve this one has got something
    special in it.

    Reply
  9. Best Racist Jokes

    Thanks for sharing your thoughts about Racist Jokes.
    Regards

    Reply
  10. I am regular visitor, how are you everybody?
    This post posted at this site is really pleasant.

    Reply
  11. afieldofwildflowers.com

    Hello there! 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
    valuable information to work on. You have done a wonderful job!

    Reply
  12. innovative packaging solutions

    Thank yo? for your own work on this blog. Debb? really
    lo?es going thr?ugh investigation and it’seasy to see why.
    I kno? all of t?e powerful means yo? offer powerful guides ?ia your web blog and welcome respons? from ?ebsite visitors on this ide? while our favorite princess i? undoubtedly lea?ning
    a ?hole lot. Take advantage off the remaining portion of the year.
    You are conducting a ?ood job.[X-N-E-W-L-I-N-S-P-I-N-X]I’m extremely ?nspi?ed with you? w?iting talents ?nd also with the fo?mat to your weblog.
    Is this a paid subject or ?id you modify it
    your self? Eit?er way stay up the excellent high quality writing, it’s uncommon to peer a nice weblog like this one these days.

    Reply
  13. Full Article

    The Knowledge Protection Act 1998 requires every information controller (eg
    organisation, sole trader) who’s processing personal data to register with the ICO, unless they’re exempt.
    Utilizing the above ideas, we can study whether specific tokens make sense as
    investments. Ethbits goes to promote 4 Mill Ethbit tokens throughout an ICO so as to develop the present platform Ethbits Native right into a full lit pool trading trade, Ethbits
    iTrade. Genesis Imaginative and prescient is the platform for the private belief
    management market, constructed on Blockchain technology and Sensible Contracts.
    Pre-ICO, has a Seed we’ve a workforce and workplaces and we’re not an organization of 1 project.
    These cash are referred to as tokens and are just like shares of an organization sold to traders in an Initial Public Providing (IPO) transaction. Also when Credit score Scoring firm or auditor requests access
    to personal in information on the blockchain, HVN tokens will likely be used to pay for entry to that data.
    The Stamps platform makes use of an augmented version of the rising expertise of
    Blockchain.

    Along with features talked about below, the platform will give
    you the entry to quite a few instruments, akin to Arbitrage Cryptocurrency Scanner, Autotrading, Social Studying,
    Chart indicators and analytics, Trade comparison. In typical buying and selling, a dealer makes use of a algorithm.
    He’s accountable for the event of SPECTRE’s in-platform education content and serving to purchasers learn to trade.
    We must always anticipate some exchanges in 2018 to close
    or not record any new tokens. To attach +2 exchanges from the highest-20
    in terms of buying and selling volumes for the year in line with the info
    of Coinmarketcap and place deposits on marginal accounts of exchanges with a calculation of 500K EUR per one trade
    as margin security for hedging of all orders and positions.

    Energy Ledger, an Australian startup that’s in search
    of to make use of blockchain know-how to create a peer-to-peer renewable power network,
    is in the midst of elevating tens of tens of millions of dollars in what may be the
    first cryptocurrency” fundraising effort in the energy house.
    By collaborating in the ICO, traders are granted token holder rights that entitle them
    to obtain completely different payouts – equivalent to shareholders
    dividends and this way trader’s tokens are converted into odd
    shares.

    UT is getting into Crypto with undertaking UTExchange.

    All Trades Are Fully Managed: Serenity Monetary is predicated on blockchain expertise that enables users to create a unified, standardized system for controlling and recording buying and
    selling and non-trading transactions while stopping forgery.
    Which means that if you happen to participate in the PreICO now, it
    could easily enhance your capital at the very least 3
    times, with a very possible increase to about 30 occasions as soon as COV starts trading on the alternate and first copy-trades
    start generating commissions in the Asset contract.

    With CryptoPing, you are on the way to financial independence you could have always
    wished with a secure method to retain it. This is not an bizarre funding device bu the the
    investment software you need to jumpstart your monetary freedom.
    Director of marketing and PR, info safety specialist,
    head of the technical assist crew and founder of Arbitrage Crypto Dealer.
    We use blockchain hashing algorithm so no one knows different
    dealer api keys plus it’s deployed in ethereum blockchain so it’s protected and secure.

    COVESTING has skilled conceptual upgrades from the second when the primary concept of a peer-2-peer digital asset management platform was disclosed by the founder, former Saxo Financial institution dealer, Dmitrij Pruglo.
    Though the Firm doesn’t presently anticipate that it’ll require any Pre-current Token holders to transform their Pre- present Tokens to
    Replacement Tokens, the Company anticipates there will probably be important incentives for Pre-present Token house owners to do so, for the reason that sensible utility of Pre-present Tokens will possible diminish rapidly once the Substitute Tokens are created and in use
    by a significant portion of the Platform contributors.

    50% of all platform earnings can be allotted to systematic Token Buyback and Burn applications which ought
    to should successfully enhance the worth of COV over time.

    Meanwhile, CryptoPing is one of the few projects on ICO
    market that already has a working beta version, active consumer base
    and is ready for public launch in a number of days after
    the crowdsale is completed. It was very niche,
    with a whole lot of impartial buyers and merchants, however now financial
    corporations, including brokerages, hedge
    funds and even credit card companies, have had an opportunity to digest Bitcoin and Ethereum, understand that this is such a robust networking system with
    vast capabilities to change whole industries, they
    usually’re altering their underlying applied sciences to undertake blockchain know-how.

    Greater than 12 years of buying and selling expertise in stocks,
    derivatives and overseas exchange market. Now you can sit again and watch how professional traders do
    the job for you. The liquidity in crypto market has proven a fast rise this 12 months.
    CryptoPing crew aims to establish a platform where skilled traders could
    be capable of sharing nuanced buying and selling indicators
    publicly or anonymously and making a figuring out atmosphere for
    his or her members. What is going on available in the market of Bitcoin and Ethereum , can a basic dealer revenue on that and the right way
    to open your crypto business, feedback Artur Azizov
    , B2Broker CEO.

    The platform will feature public dealer rankings where customers will
    be capable of pick up traders they like and receive signals from them.
    The part of B2BX tokens will likely be distributed between the members of our workforce, and will not be obtainable for trading on the secondary
    market within six months from the end of the ICO. Waves, which
    itself was developed through an ICO ( raising over $16 million ) is also creating a token platform.
    New developments resembling Blockchain expertise and
    good contracts can redefine sports and other betting. http://blog.teamconasauga.org/?p=349538

    Reply
  14. youtu.be

    Do you have a spam issue on this site; 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 methods
    with other folks, be sure to shoot me an email if interested.

    Reply
  15. office furniture solutions

    He?l? There. I found your blog using m?n. This is a really well wrritten article.
    ? will make sure to bookmark it annd return tto read more
    of your useful information. Thanks for the post.
    I’ll definite?y return.

    Reply
  16. steam gifts

    Heya i’m for the first time here. I came across this board and I find It really useful &
    it helped me out much. I hope to give something back and help others like you
    helped me.

    Reply
  17. https://www.amazon.com/

    Home is likely one of the essentials of life and all Real estate.
    Market worth of all forms of real property has gone up. What are
    the elements which drives the shopping for resolution. Factors affecting buying.

    Reply
  18. fighting games

    It’s not my first time to pay a quick visit this web page, i am browsing this site dailly and take good information from
    here everyday.

    Reply
  19. rabbit viberator

    Great site you have here.. It’s difficult
    to find high-quality writing like yours these days.
    I truly appreciate individuals like you! Take care!!

    Reply
  20. t shirt printing logo

    Hi ?olleagu?s, glod iece of writing and fastidious argumejts commented here, I am really enjo?ing by
    these.

    Reply
  21. Edwin

    There have been several researches to evaluate the performance
    of these products and also in these regulated amounts there were no considerable negative effects.

    Reply
  22. Joma Jewellery London

    The engravers are often called Gharias. Electrum, made by a Rhodian workshop, ca.
    630-620 BC. Discovered in the necropolis of Kameiros
    (Rhodes).

    Reply
  23. Nina

    Pure silver or gold earrings should always be used
    in freshly pierced ears.

    Reply
  24. youjizz

    Excellent blog post. I defnitely a?preciate t?i?
    website. ?hanks!

    Reply
  25. apexatropinpills.org

    You made several good points there. I did
    a search on the topic and found nearly all people will consent
    with your blog.

    Reply
  26. football games heads

    After looking over a number of the blog posts on your site, I seriously like your technique of blogging.
    I book-marked it to my bookmark webpage list and will be checking back soon. Take a
    look at my website too and let me know how you feel.

    Reply

Leave a Comment

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