Medialibrary doesn't accept pdf and zip files
I'm trying to upload pdf and zip files into the Medialibrary. Here's what I see:
https://snipboard.io/KaoL56.jpg
Form1_2019.zip От сервера получен неожиданные ответ. Файл возможно не был загружен корректно. Перезагрузите страницу или проверьте медиатеку.
It says "You have an unexpected answer from the server. Perhaps the file was not uploaded correctly (properly). Reload the page or check the Media library."
The same thing happens to pdf files.
I need to upload those files, get the link and insert it to another page offering downloadable docs to visitors.
What should I do?
Comments
Hello,
Are you sure that you are not uploading files bigger then 25MB?
Please, turn off all of the plugins, and check if this issue still appears.
You can also contact your hosting provider, and ask them if your server do not block some file extensions, and to increase the maximum upload size.
Thanks
All the files are less then 3 Mb.
Plugins disactivation didn't help.
The hosting provider denies any restrictions.
Maybe there's another way to upload the files?
Hey,
Please send us WordPress dashboard access privately thru the contact form which is on the right side at http://themeforest.net/user/muffingroup#contact and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Thanks
Hello,
You did not attach the link to your website, can you send it in this topic?
thanks
Hello,
I was on your server and I can upload .zip and .pdf files without any issue, did you solve the problem?
Thanks
Hello.
See your uploads, but...
https://snipboard.io/Agy7Xl.jpg
The same problem with an "Unexpected answer from the server". I've renamed .pdf but got the same answer. A .zip file failed as well.
Here's the screen recording of me trying to upload those (if it's allowed to post it here).
https://drive.google.com/file/d/1LS71tVz3Smn2fcLRjBHf9knQ4SbDZneH/view?usp=sharing
Did you try to upload these files on other PC/Laptop? Maybe there is a source of a problem.
We tested it on mine device and my cooworker and it works fine.
Thanks
I've try both PC and a laptop.
A minute ago I've seen a line saying "You're using WP Multi-file uploader. Issues? Try browser uploader". I have and it worked to pdf. But not to zip. It has written
413 Request Entity Too Large
The size of zip is 2.57 Mb. The name is short as well
The problem is half-solved, good. Let's go on.
Well, this issue is related to your server, you have to ask your hosting provider to extend the max request size of the file - it just look like you crossed it.
See the article about this error here:
thanks