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

  1. Aidan

    But he will not obtain mage skills and that can easily screw up the activity’s attribute where you
    automatically jump to the upcoming tier, getting the brand new abilities and stat benefits for evening your course.

    Reply
  2. Rob

    Our training class are actually sit as well as stitch style, consequently you need
    to carry your sewing equipment, all add-ons, scisserses as well as
    pencil and newspaper.

    Reply
  3. http://patabrams8888189.wikidot.com

    The initial cinema adventure for the fabulous webslinger was enjoyed by fans young
    an aged in spite of some audiences differing with particular factors of the film
    like the Environment-friendly Spirit’s weird, Energy rangers designated outfit.

    Reply
  4. annispillinger1.skyrock.com

    Very most essentially, determine as well as validate references of shiny speaking, presentation, as well as adult education and learning & instruction capabilities and
    accomplishments.

    Reply
  5. www.liveinternet.ru

    Piano Mastery Training class is actually made to provide the typical pupil (which represents 80-90% of younger
    entertainers) the quickest, as well as the majority of engaging way, to
    become quality at piano playing.

    Reply
  6. sbobet online

    Wow, awesome blog format! Howw long have you evsr been bllgging for?
    you made running a blog look easy. Thee overall glance
    off yohr web site is magnificent, as well aas the content material!

    Reply
  7. Circadian sleep Disorders

    Hello there I am so glad I found your webpage, I really found
    you by accident, whkle I was researching onn Yahoo for something
    else, Anyways I am heere now and would just like to ssay thank you for a tremendous post and a
    all round entertaining blog (I also love the theme/design), I don’t have ttime to lok over it aall
    at tthe moment but I have bookmarked it and also added your RSS feeds, so when I have time I will bbe back to read
    much more, Please doo keep up the fantastic work.

    Reply
  8. In this Knowledge session Jeremy Whaley will check out
    a variety of types of stop purchases, refer to the philosophy of establishing quits,
    as well as present numerous devices for cease placement and also cease
    monitoring.

    Reply
  9. Delores

    While preparing food class present cards provide workers the adaptability to choose their own preparing food training class food selection on a time
    and opportunity that satisfies all of them.

    Reply
  10. http://bryanmarron6.host-sc.com/

    This initial Knowledge set (coming from 2011) was our 2nd very most well-liked collection ever generated (2nd merely
    to Structures of Sells and also Choices).

    Reply
  11. Christen

    A mastery symbol is meant to show that you have actually definitely learnt a tank and also may use that efficiently.

    Reply
  12. Renate

    He would like to be near the face as well as use his greatest resource,
    speed, yet the readiness to price can be a big plus for Proficiency moving forward.

    Reply
  13. masterclass kitchens york

    Direct Guideline: In a Flipped Proficiency plan this is carried
    out using flipped video clips (sometimes referred to as micro video
    recordings) which teachers produce.

    Reply
  14. ??? ????? ?????????? ????? ?????????

    Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You clearly know what youre
    talking about, why throw away your intelligence on just posting
    videos to your site when you could be giving us something enlightening to read?

    Reply
  15. http://zelmak50720218.wikidot.com/blog:2

    In a knowledge finding out setting, the instructor routes a selection from group-based tutorial methods,
    with certain and recurring feedback by using analysis, formative
    tests, along with frequently remedying mistakes pupils create along their
    knowing path.

    Reply
  16. blogs.rediff.com

    Not merely would you be supporting my education,
    but advancing the education and learning from every equine and also student I deal with down the road.

    Reply
  17. Tile Warehouse

    Now i am going to get started on following you on Facebook.

    Tile Warehouse

    Reply
  18. Tile Warehouse

    Now i am going to get started on following you on Facebook.

    Tile Warehouse

    Reply
  19. Hilton

    A four-year longitudinal research study through
    Arlin (1984) 29 found no sign of a fading away factor in pupils that discovered
    math via a proficiency strategy.

    Reply
  20. Kandis

    An instructor making use of the knowledge approach are going to
    make use of the evidence generated coming from his or her examination to customize activities to best offer each pupil.

    Reply
  21. fletcheringram760.wikidot.com

    But instructors that utilize turned mastery case that its own effectiveness permits most students to accomplish a
    year’s work in a lot less opportunity.

    Reply
  22. Ermelinda

    Cooking classes from Latelier deliver a reliable personnel
    incentive which will definitely entice every
    member from personnel.

    Reply
  23. Julianne

    He would like to be near the front as well as utilize his ideal asset, rate, but the desire to cost could be a huge plus
    for Knowledge proceeding.

    Reply
  24. order generic xtane payment usa

    Hi there, I discovered your website by the use
    of Google at the same time as searching for a comparable subject, your website came up, it seems to be great.

    I have bookmarked it in my google bookmarks.

    Hello there, just was aware of your weblog through
    Google, and located that it is really informative.
    I’m going to be careful for brussels. I will appreciate if you continue this in future.
    Many other people will be benefited from your writing. Cheers!

    Reply
  25. Archie

    One problem was actually ways to do straight instruction; an instructor can’t provide five different lectures
    in one course.

    Reply
  26. vmessage10512

    I just couldn’t leave your website before suggesting that I
    extremely enjoyed the standard info a person provide for your visitors?
    Is going to be again steadily to inspect new posts

    Reply
  27. chassidyradcliffe.wikidot.com

    You will certainly receive all training class products for download,
    in addition to the class audios.

    Reply
  28. When Kelly returned off the event in December, 2010,
    he talked excitedly about turned mastery along with his colleagues Corey Sullivan and Mike Brust.

    Reply
  29. http://barbarahurwitz079.bcz.com

    While food preparation lesson gift memory cards provide staff
    members the versatility to pick their very own preparing food training class
    food selection on a time and also time that matches them.

    Reply
  30. Kenton

    Proficiency for this training class – Reveals the typical or capability
    as well as the amount from trainees who have actually accomplished mastery.

    Reply
  31. female viagra

    order viagra female viagra generic viagra 100mg http://viagrasamples.world

    Reply
  32. christelciantar.skyrock.com

    After watching this knowledge course you are going to at times
    be astounded to check out these cycles unravel before your eyes, as well as this might induce
    you to challenge much of your presumptions about markets residing in a condition from
    continuous expansion.

    Reply
  33. www.liveinternet.ru

    The greatest colleges in the capital use a range of numerous classes every month
    with different styles, dates and also durations, permitting you
    to fit your course or courses around your lifestyle.

    Reply
  34. forex market hours est

    All forex trades are performed in pairs. http://lematravel.ge/en/component/k2/itemlist/user/401344

    Reply
  35. order cheapest avlocardyl usa

    If some one desires expert view regarding running a blog afterward i
    suggest him/her to pay a quick visit this webpage, Keep up the
    nice work.

    Reply
  36. ?????????? ?????

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

    Reply
  37. Tisha

    You might suggest that this is certainly not accurate mastery given that that punishes
    slower learners, and you will correct.

    Reply
  38. http://vilmapaxson14119.wikidot.com

    The training class is especially developed to match
    women from any ages, and it is actually likewise ideal for first timers
    and also those wanting to freshen their skill sets and understanding
    from the latest approaches and also products.

    Reply
  39. mail order generic atopica payment

    I have fun with, result in I found exactly what I used to be
    taking a look for. You have ended my 4 day lengthy hunt!
    God Bless you man. Have a nice day. Bye

    Reply
  40. Gordon

    That is actually why I am actually launching the regular monthly Electricity Proficiency
    Course collection, which features a regular monthly telephone
    call that goes deep in to the regular monthly power record as well
    as offers you with additional comprehensive information regarding the month’s power.

    Reply
  41. http://athena26l9281.soup.io

    Join our team in this 90 min mastery class as our company unload how you may
    Earn money when you market, WHEN you get your sell.

    Reply
  42. Valerie

    This is actually an estimate of class recognition throughout ALL Hearthstone, based on the enemies Arena Mastery players experience.

    Reply
  43. Beatriz

    This lesson is actually perfect for an individual who plans or even uses to use Python and Pandas regularly in their day-to-day job, and also
    desires to accomplish a high degree from efficiency rapidly.

    Reply
  44. lukmed.krapkowice.com.pl

    excellent put up, very informative. I wonder
    why the other specialists of this sector don’t
    understand this. You must proceed your writing. I am sure,
    you have a great readers’ base already!

    Reply
  45. mua may pha ca phe gia re

    Thank you for the good writeup. It in fact was a amusement account it.

    Look advanced to more added agreeable from you! By the way, how could
    we communicate?

    Reply
  46. flowers

    I am regular visitor, how are you everybody? This paragraph posted at this
    site is really good.

    Reply
  47. dezynsekcja 24 insekty

    Hi there, everything is going nicely here and ofcourse every
    one is sharing information, that’s in fact fine,
    keep up writing.

    Reply
  48. jasa order ebay

    of cours? like your wweb site howev?r you need to check the sp?lling on sever?l
    of your posts. Many of them ar?e rife with ??elling
    issues and I f?nd it very troublesome to tell t?e truth
    on the other hand I will certainly come again a?ain. http://www.kirtidevelopers.com/index.php/component/k2/itemlist/user/1564919

    Reply
  49. www.dailystrength.org

    Patch 5.0.4 (2012-08-28): Proficiency is actually no longer found as proficiency score or gauged in points.

    Reply
  50. buy generic viagra

    generic viagra 100mg buy generic viagra viagra for women http://viagraforsaleviagra.us

    Reply

Leave a Comment

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