WordPress.org

Ready to get started?Download WordPress

Forums

Cannot insert images into blog (5 posts)

  1. Anonymous
    Unregistered
    Posted 6 years ago #

    I tried following the ideas of adding htaccess ect.. but always get:

    Precondition Failed
    The precondition on the request for the URL /blog/wp-admin/media-upload.php evaluated to false.

    when inserting an image.

    I am clicking the Add Media:Add Image button

    I upload the image, and when I go to insert it into my blog, I get that error.

    I did put an htaccess file using:

    <IfModule mod_security.c>

    SecFilterEngine Off

    SecFilterScanPOST Off

    </IfModule>but it did not fix it.

    i went thru all the stick notes on images and still cannot get past this error.

    any ideas?

  2. @mercime
    Volunteer Moderator
    Posted 6 years ago #

    Hello. What WP version are you having problems with image uploading?
    Have you checked out this post by Otto42 regarding media uploader in 2.6?

  3. Anonymous
    Unregistered
    Posted 6 years ago #

    I am running 2.6

    Yes i saw Otto42s post and tried those steps - no luck.

    i keep getting:

    Precondition Failed
    The precondition on the request for the URL /blog/wp-admin/media-upload.php evaluated to false.
  4. joand
    Member
    Posted 6 years ago #

    I am having the same problem with 2.6.1 - I cannot insert an uploaded image into the post, and receive the same Precondition Failed error.

    I have installed the NextGen Gallery plugin - and I am able to insert an image uploaded through the NextGen gallery. Do they use a different function to insert the image, or has the NextGen Gallery broken the regular image insertion?

  5. joand
    Member
    Posted 6 years ago #

    I have another install that I updated to 2.6.1 - it does not have NextGen installed, and I receive the same error Precondition Failed

    "The precondition on the request for the URL /wp-admin/media-upload.php evaluated to false."

    when trying to insert an image - so obviously NextGen has not caused the problem.

    UPDATE: The ModSecurity htaccess file fixed it for me.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.