Home Forums Plugin Support WP User Frontend Pro Error #-400: Security error.

This topic is: resolved

This topic contains 23 replies, has 2 voices, and was last updated by  Tareq Hasan 5 years, 1 month ago.

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #14899

    TeeDev
    Participant
    Post count: 58

    I've recently started getting this error when members attempt to upload an image using WPUF. It happens whether you uploading using the Featured Image or Upload Photo button.

    The image is successfully uploaded into the media library, however WPUF Pro does not show the image as attache din the form.

    At first I thought it was because the user was a contributor (I have a function which allows contributors to upload images) and WPUF was not happy with that but it also happens with an Editor.

    Any ideas?

    WPUF Pro 2.1.9 on WP 3.8.1

    #14903

    Tareq Hasan
    Keymaster
    Post count: 2831

    Never had this issue. May be you are using IE? A quick google search tells me it's a IE related problem.

    #14904

    TeeDev
    Participant
    Post count: 58
    This reply has been marked as private.
    #14906

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yes, also happening for me. But I suspect, it's happening for the HTTP authentication. Disabling that should solve it.

    #14907

    TeeDev
    Participant
    Post count: 58

    Hmmm, we need that on there. We've always had it.
    How can I get around this issue – what is WPUF Pro trying to do that is triggering this?

    Btw, this is a new setup of WPUF Pro on an existing site. We're moving it from our subdomain onto the main domain.

    #14909

    Tareq Hasan
    Keymaster
    Post count: 2831

    Apache asked to put username password twice while I was trying. As the uploader (plupload) works, it creates a hidden iFrame to upload files via ajax. I think apache is detecting that as a new user without authentication and blocking it.

    #14914

    TeeDev
    Participant
    Post count: 58

    OK so maybe I need to create an Apache exclusion for pluploader. What is the location of the file? I notice WPUF uses many many jquery files – do I need to exclude them all? Which ones does it use?

    Thanks

    #14916

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yes, you'll need them all. It's located in http://example.com/wp-includes/js/plupload/

    I am not sure how you'll exclude that, probably the issue will persist!

    #14926

    TeeDev
    Participant
    Post count: 58

    OK so I have disabled all Apache authentication.

    The error has gone and images upload to the media library but there is no indication to the the contributor that the image has been uploaded. And in the Upload Photo option I would imagine that the image would be visible in the composing window, or at least the HTML code of the image source, but nothing.

    Any ideas?

    #14928

    TeeDev
    Participant
    Post count: 58

    I think I've tracked down the problem to my site's minification plugin.
    Can you tell which js scripts I need to exclude from minifying during the image upload process?

    Many thanks

    #14930

    Tareq Hasan
    Keymaster
    Post count: 2831

    frontend-form.js and upload.js

    #14934

    TeeDev
    Participant
    Post count: 58

    Hey thank you.

    I've got the form uploads working now but I have found that if I upload more than one image into the post then I get the error “Undefined” when I submit it. If there is one image it submits.

    What do you think is causing this?

    You can test with the credentials I sent you earlier

    #15065

    TeeDev
    Participant
    Post count: 58

    Hi, any further thoughts on this please?

    Thanks guys

    #15175

    TeeDev
    Participant
    Post count: 58

    Hello, any answers to this please?

    Also, we're having a problem because the plugin is already activated on a subdomain and we want to use it on our main domain name. Can you allow this?

    Thanks

    #15176

    Tareq Hasan
    Keymaster
    Post count: 2831

    I've disabled your license on the xtra subdomain.

    Can you please whitelist wp-admin/admin-ajax.php from http authentication? I am not sure whats creating that problem as the image upload is just working fine in my test. It's getting -1 response when submitting a post.

Viewing 15 posts - 1 through 15 (of 24 total)

The topic ‘Error #-400: Security error.’ is closed to new replies.