Error #-400: Security error.
Author | Posts |
---|---|
January 30, 2014 at 10:00 pm 14899 | |
Tareq Hasan | 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 |
January 30, 2014 at 10:48 pm 14903 | |
Tareq Hasan | Never had this issue. May be you are using IE? A quick google search tells me it’s a IE related problem. |
January 30, 2014 at 10:54 pm 14904 | |
TeeDev | This reply has been marked as private. |
January 30, 2014 at 11:00 pm 14906 | |
Tareq Hasan | Yes, also happening for me. But I suspect, it’s happening for the HTTP authentication. Disabling that should solve it. |
January 30, 2014 at 11:03 pm 14907 | |
TeeDev | Hmmm, we need that on there. We’ve always had it. Btw, this is a new setup of WPUF Pro on an existing site. We’re moving it from our subdomain onto the main domain. |
January 30, 2014 at 11:10 pm 14909 | |
Tareq Hasan | 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. |
January 30, 2014 at 11:26 pm 14914 | |
TeeDev | 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 |
January 30, 2014 at 11:44 pm 14916 | |
Tareq Hasan | 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! |
January 31, 2014 at 12:29 am 14926 | |
TeeDev | 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? |
January 31, 2014 at 2:00 am 14928 | |
TeeDev | I think I’ve tracked down the problem to my site’s minification plugin. Many thanks |
January 31, 2014 at 3:57 am 14930 | |
Tareq Hasan | frontend-form.js and upload.js |
January 31, 2014 at 4:48 am 14934 | |
TeeDev | 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 |
February 4, 2014 at 6:38 pm 15065 | |
TeeDev | Hi, any further thoughts on this please? Thanks guys |
February 7, 2014 at 9:32 pm 15175 | |
TeeDev | 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 |
February 7, 2014 at 9:49 pm 15176 | |
Tareq Hasan | I’ve disabled your license on the xtra subdomain. Can you please whitelist |
February 7, 2014 at 11:33 pm 15182 | |
TeeDev | Thanks Tareq I’ve now disabled all extra authentication. Still the same issue. |