Have you allowed that file type in the form-tag? e.g.
[file file-32 limit:50mb filetypes:pdf|doc|docx|txt]
Could the file size be an issue? Try uploading a small .docx file.
What do you have in the form-tag for the file upload?
Thread Starter
krk156
(@krk156)
@barnez [file file-756 limit:5mb].
The file which I’m trying to send is pretty small I just opened that typed on it “hello world” and trying to sent but doesn’t work spinner never end.
Try explicitly adding those filetypes:
[file file-756 limit:5mb filetypes:pdf|doc|docx|txt]
Thread Starter
krk156
(@krk156)
@barnez Yes i try it but nothing
Try disabling any security plugins you may have installed.
Try disabling all other plugins ad switching to a default WordPress theme (e.g. Twenty-Sixteen).
Ask your hosts to check the logs. Maybe server level security such as ModSecurity is blocking the upload.
Thread Starter
krk156
(@krk156)
@barnez i try it but doesn’t work
I found this conversation and problem is exact same.
Do you thing is godaddy issue
https://ww.wp.xz.cn/support/topic/http-error-on-uploading-only-docx-files
Slightly different issues, as the OP if that thread was having problems importing data from a docx file into the media library.
However, the fact that you are both hosted with GoDaddy and are having issues with docx files could be a common denominator. What happens if you try and upload a docx file to the media library? Same issue? If, so, I would contact them and descr9be your issue, maybe ask them to relax an security rukes they have running such as ModSecurty, and see if that help.
Thread Starter
krk156
(@krk156)
Today I checked on google developer tools under console tab and after I press Submit button it will show this error on console:
POST mywebsite.com/contact-us/ net::ERR_EMPTY_RESPONSE jquery.js?ver= 1.12.4:4
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
o @ jquery.form.mi.js?ver=3.51.0-2014.06.20:11
e.fn.ajaxSubmit @ jquery.form.mi.js?ver=3.51.0-2014.06.20:11
t @ jquery.form.mi.js?ver=3.51.0-2014.06.20:11
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3
Do you have any idea?
My file upload stopped working all of a sudden about a week ago.
It turns out the Wordfence security plugin had automatically added some new rules and it had blocked it from uploading. After disabling wordfence for a minute and testing it all worked fine so it looks like the problem was there.
If anyone is having the upload issue with the spinner and you have Wordfence installed you can try this.
Thanks.