All questions about EDocman extension

413 Error Cannot Upload new document

  • haser buen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago - 4 years 2 months ago #141459 by haser buen
413 Error Cannot Upload new document was created by haser buen
I am using version 1.19.3
There is a glitch that does not allow new file uploads. What is causing the following error message?Request Entity Too LargeThe requested resource does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.Additionally, a 413 Request Entity Too Large error was encountered while trying to use an ErrorDocument to handle the request.
Last edit: 4 years 2 months ago by haser buen.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #141461 by Mr. Dam
Replied by Mr. Dam on topic 413 Error Cannot Upload new document
Hi Haser,
A 413 Request Entity Too Large error occurs when a request made from a client is too large to be processed by the web server. You need to contact with hosting admin to ask them to solve this kind of issue.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • haser buen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago - 4 years 2 months ago #141464 by haser buen
Replied by haser buen on topic 413 Error Cannot Upload new document
Hi
I already checked with the hosting company and the max was at 512M prior to attempting to add a new document. The component setting states that default is 256M. I also checked Joomla install PHP.ini and they are same as server 512M and 384M.  I also attempted uploading with the Ajax Uploader, but still getting file too large error. File is only 161M.  File uploading was OK up until a few days ago. Uploaded a file of 162M.   No new components, plugins, mods or changes have been added or made in that time.
Thanks
Last edit: 4 years 2 months ago by haser buen.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #141465 by Mr. Dam
Replied by Mr. Dam on topic 413 Error Cannot Upload new document
With the error you described, the cause could only be server-side, I advise you to contact your hosting support to seek help.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • haser buen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago - 4 years 2 months ago #141485 by haser buen
Replied by haser buen on topic 413 Error Cannot Upload new document
Have contacted them twice and was told to contact component developer because they have checked the PHP.ini file as well as htaccess file. Both have 512 and 384M as file size limits. I am able to upload to other components just not edocman. The file size is 162.2 M  In the upload configuration it says next to the field (Default 256M INI)
Last edit: 4 years 2 months ago by haser buen.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #141486 by Mr. Dam
Replied by Mr. Dam on topic 413 Error Cannot Upload new document
What's the size of files that you uploaded into Edocman?

Please Log in or Create an account to join the conversation.

  • haser buen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #141488 by haser buen
Replied by haser buen on topic 413 Error Cannot Upload new document
The file size is 162M

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #141489 by Mr. Dam
Replied by Mr. Dam on topic 413 Error Cannot Upload new document
With that file size, you will need very high CPU resources. I advise you to use Ftp software to upload that file and then, select it for new Edocman document.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • haser buen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago - 4 years 2 months ago #141508 by haser buen
Replied by haser buen on topic 413 Error Cannot Upload new document
The file is 162 megabytes as I stated in my original post. Why is it necessary to use an FTP software when 256 megabytes is shown as the default largest size for Edocman?  The Ajax batch uploader allows for multiple files which can exceed 161 megabytes, so why would one file which does not exceed default max limitation, "need high CPU resources?"
I contacted hosting company for the site and was told that Edocman was using a lot of resources on the server which was triggering a ModSec rule with the GET file function. 

Using FTP the file was uploaded without any issue; however, the file does not appear in document listing, so it appears there is no way to "add it" to the list of documents manually.
What solution do you  recommend to have a large file apppear in backend document list when file is added manually?
Last edit: 4 years 2 months ago by haser buen.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #141597 by Mr. Dam
Replied by Mr. Dam on topic 413 Error Cannot Upload new document
Hi Haser,
After uploading documents through ftp software to "Edocman document root path", please go to Edocman Configuration page, in field: "File Upload Method", please select option: "Choose file from server", then, when you add new document in Edocman, you will able to select uploaded files for your new document
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam