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

  1. mastery all classes

    Training class 4 is actually 10,000 hitpoints, lesson 3
    is 100,000 hitpoints, course 2 is 1 thousand hitpoints, and course 1 (max) is 10 thousand.

    Reply
  2. gretchenjamison9.webgarden.at

    As the sushi making training class drew to a close, our company made our
    way to the mezzanine flooring to discover how you
    can create some energizing cocktails.

    Reply
  3. is there a way to view private instagram

    Does your blog have a contact page? I’m having trouble locating it but, I’d like to send you
    an email. I’ve got some recommendations for your blog you might be interested in hearing.
    Either way, great website and I look forward to seeing it expand over
    time.

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

    Knowledge es por la yegua hija de Aged Trieste,
    Steady Program, quien muestra disk operating system triunfos y tres segundos en una campaña
    de siete salidas.

    Reply
  5. OLA-55

    I’m amazed, I have to admit. Rarely do I encounter
    a blog that’s equally educative and interesting, and without a
    doubt, you’ve hit the nail on the head. The problem is an issue that not enough people
    are speaking intelligently about. Now i’m very happy I
    stumbled across this in my search for something relating to this.

    Reply
  6. milonga Tango argentino

    hi!,I really like your writing very much! proportion we communicate more about your article on AOL?
    I require an expert on this house to solve my problem.
    May be that is you! Having a look forward to peer you.

    Reply
  7. One complication was how you can perform straight guideline; a teacher can’t give 5
    other lectures in one training class.

    Reply
  8. JDSU Acterna OLP-38

    I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored material stylish.
    nonetheless, you command get bought an shakiness over
    that you wish be delivering the following. unwell unquestionably come more formerly again since
    exactly the same nearly a lot often inside case you shield this increase.

    Reply
  9. Rory

    Hey! Quick question that’s completely off topic.
    Do you know how to make your site mobile friendly? My web site looks weird when browsing from
    my iphone 4. I’m trying to find a theme or plugin that might be able
    to resolve this problem. If you have any recommendations,
    please share. Cheers!

    Reply
  10. https://tamsixsmith0.tumblr.com

    Latelier des Chefs deal 250 fun as well as
    kicked back cooking food courses every month with a stable of sizes and motifs so there
    is actually one thing for everyone.

    Reply
  11. phentermine overnight

    Your mode of explaining all in this post is actually pleasant, all be able to
    without difficulty understand it, Thanks a lot.

    Reply
  12. adele381410995025.postbit.com

    Exactly what you truly must know is whether knowledge
    is a much better stat at that point let’s mention crit or even rush.

    Reply
  13. glenn61z191576941.myblog.de

    Knowledge demonstrateded in his job launching that he was incredibly fast however he really glued his references as an opponent on the Road to the Kentucky Derby
    with an excellent gain in the Quality 1 Los Alamitos Cash Phone Futurity.

    Reply
  14. tkqlinwood61777510.webgarden.at

    . Lineage: Knowledge is coming from the ninth plant from 2003 TVG Pacific Standard
    Risks victor Sweet Flight, whose finest joggers have included his highly effective blend of velocity and endurance.

    Reply
  15. Dunbar presale condos

    It’s hard to come by knowledgeable people for this subject,
    but you seem like you know what you’re talking about! Thanks

    Reply
  16. Byron

    Individual Evaluation is reinforced when there is actually frequent evaluation as well as dialogue of performance, along
    with a crystal clear pay attention to the quality of
    the product or service being actually provided to clients.

    Reply
  17. SEO Specialist India

    Hello there I am so thrilled I found your blog, I really
    found you by error, while I was searching on Aol for something else,
    Regardless I am here now and would just like to say many thanks for a remarkable post and
    a all round exciting blog (I also love the theme/design), I don’t have time to
    look over it all at the minute but I have bookmarked it and also added your RSS feeds, so when I have time I
    will be back to read much more, Please do keep up the excellent job.

    Reply
  18. Lenard

    For a third lesson proficiency, your xp gained must be above FIFTY% from the various other
    players average best xp, for a second course proficiency,
    it should be above 80%, a fabulous mastery towers
    95%, and a mastery symbol (greatest position) is above
    99%.

    Reply
  19. Leonore

    Preparing food training class coming from Latelier deliver a reliable staff
    motivation which will attract every participant from workers.

    Reply
  20. Gladis

    Proficiency displayed in his job debut that he was actually exceptionally rapid however he definitely cemented his references as a competitor
    when driving to the Kentucky Derby along with an excellent succeed in the Quality 1 Los
    Alamitos Cash Contact Futurity.

    Reply
  21. Nicholas

    She decidinged to divide the class as she performed, and also adhere to the Y2 and also Y5 purposes specifically, based on the
    individuals in the lesson this year, as well as their details demands.

    Reply
  22. Each standard or even capability is actually displayed in the Mastery for this course place, in addition to the percent as
    well as matter from trainees which have actually grasped the typical or even ability.

    Reply
  23. Tiffiny

    Pedigrí: Proficiency pertenece a los angeles novena producción del ganador del 2003 TVG Pacific Standard, Goodie
    Experience, cuyos mejores corredores se han vanagloriado de esa poderosa combinación de velocidad y resistencia.

    Reply
  24. driveway channel drains

    Now I am going to do my ?reakfast, when having my breakf?st coming over again to read more news.

    Reply
  25. demetriusfontaine.wikidot.com

    A knowledge badge is suggested to present that you have really mastered a tank
    and can utilize this efficiently.

    Reply
  26. Gavin

    Perhaps along with trion’s mentioned modifications to classes to flesh them out much more, brand-new players will not believe that they
    need to receive each of the classes all at once.

    Reply
  27. cyrusmatthew78.wikidot.com

    Coming up within this Brand new Mastery Series course
    Jeremy Whaley will certainly have a detailed look at the option method called a
    strangle or straddle.

    Reply
  28. Candra

    This training class is best for somebody that utilizes or even organizes to utilize
    Python as well as Pandas consistently in their everyday job, and
    wants to attain a high degree from proficiency rapidly.

    Reply
  29. www.blogster.com

    Knight: 1815 tinted + 7660 lesson sparks (this tree was actually a wreck so I
    could have overlooked something and activity collapsed while I was doing the estimations).

    Reply
  30. http://tawnyakingsbury.wikidot.com/blog:5

    Mastery Educational institution is your possibility making the breakthrough
    in the most necessary regions of your life by profiting from optimum educators and doers” on the planet.

    Reply
  31. Adolph

    Instructing Tips and also Prescriptions: Additionally consisted of in the Proficiency for this course area are
    actually url to teaching tips and also prescriptions if
    the skill or requirement is actually straightened to one
    or even both from these.

    Reply
  32. Dino

    Knowledge es por los angeles yegua hija de Old Trieste, Steady Training program, quien muestra dos triunfos y tres segundos
    en una campaña de siete salidas.

    Reply
  33. grazynaewen5.webgarden.at

    Whether you are looking to prepare a lunch break or
    even night event to compensate a team from staff, or even whether you wish to provide personal presents,
    food preparation training class give an one-of-a-kind incentive which will definitely appeal to each
    worker.

    Reply
  34. http://faustinoiliffe2.wikidot.com/

    Mastery additionally describes the secondary stat, found under
    Melee, Varied or Lead to on the character slab Personalities have a
    base knowledge of 0, however this can be improved through gear along with knowledge on that.
    Many enhancements like delights as well as jewels also improve mastery.

    Reply
  35. http://armand66s4876894.host-sc.com/

    Lessen 30 aspects for the lesson 4, 300 for training class 3, 3,000 for class 2,
    as well as 30,000 for lesson 1. Dmitry Lavrinenko was actually acknowledged as
    the top soviet tanker, damaging 52 storage tanks in 28 battles throughout only 2 months.

    Reply
  36. Mirta

    Income Proficiency is actually a financial performance body that gives the varying point out there that
    can easily militarize your customer’s excellence.

    Reply
  37. Samara

    Sites like or even reveal stat concerns so you can view where knowledge possesses one of the most
    advantage in each class/spec.

    Reply
  38. Lena

    Websites like or present stat top priorities so you could see where proficiency has the best benefit in each class/spec.

    Reply
  39. Reed

    Our experts offer grads along with the Profit Proficiency
    tools and help in converting just what they learn.

    Reply
  40. blogs.rediff.com

    Simply personalities with a specified course (generics) would be
    influenced through changing their class to one thing different.

    Reply
  41. http://lizabaume1965.wikidot.com/blog:2

    Other storage tanks might stack knowledge but for pallys
    and enthusiasts this just boosts their block.

    Reply
  42. Rolland

    Certainly not merely would you be actually sustaining my
    learning, however advancing the education from every equine as well as student I work with in the
    future.

    Reply
  43. leandrapotter5.host-sc.com

    The course is particularly made to fit women of any ages, and this’s likewise ideal for first timers and also those desiring to revitalize their
    skill sets as well as expertise of the latest products as well as strategies.

    Reply
  44. Junko

    We make use of the Revenue Mastery course as the key financial training motor vehicle for the Facility.

    Reply
  45. harga beton ready mix

    Good artic?e. I absolutely love this webs?te.
    Keep itt up! https://Betadeals.com.ng/user/profile/1160434

    Reply
  46. Isis

    But the problem is that subclassing generics triggers all of them to stop
    making positions from the training class they presently are actually.

    Reply
  47. Florida

    Earnings Proficiency is just one of the best plans I have attended instruct
    business people exactly how capital by means of their service &
    the best ways to deal with the funds from their company.

    Reply
  48. sbobet media

    ?o?, that?s what I was l?oking for,
    what a stuff! ex?sting h?re
    at t?is weblog, thanks admin
    of this web site.

    Reply
  49. wandabarragan2.host-sc.com

    Flower realized that, if aptitudes were actually
    anticipating of the price at which a pupil could learn (and certainly not automatically the level to which), that ought to be feasible to correct
    the level from learning anticipated to some knowledge
    level and then systematically use the variables in Carroll’s design such that all or mostly all pupils obtained that
    degree.

    Reply
  50. lulafrederick3386.wordpress.com

    After enjoying this knowledge training class you will at times be surprised to
    view these cycles unfurl just before your eyes, as well as
    that might cause you to wonder about a number of your presumptions concerning markets
    residing in a condition from reoccurring expansion.

    Reply

Leave a Comment

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