Support » Fixing WordPress » Cannot insert images into blog

  • 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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @mercime

    (@mercime)

    Volunteer Moderator

    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?

    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.
    joand

    (@joand)

    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?

    joand

    (@joand)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot insert images into blog’ is closed to new replies.