All questions about EDocman extension

File size error

  • Traci Lovelace
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #104104 by Traci Lovelace
File size error was created by Traci Lovelace
Hello, I'm getting this error: Save failed with the following error: EDOCMAN_FILE_TOO_BIG

on a pdf file that is 4,124 kb. I've checked the settings and it's set to allow up to 2 MB.

What is wrong?

Thank you

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

More
6 years 7 months ago #104236 by Mr. Dam
Replied by Mr. Dam on topic File size error
Hi Traci,
You can find the answer in your topic, the Max file size allowed is 2MB and you upload 4MB file size, that's the reason your document can't be uploaded.
Thanks
Dam

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

  • Traci Lovelace
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #104290 by Traci Lovelace
Replied by Traci Lovelace on topic File size error
What is the workaround for larger file sizes?

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

More
6 years 7 months ago #104291 by Mr. Dam
Replied by Mr. Dam on topic File size error
Hi Traci,
Edocman's limits on upload file size are determined by your server's PHP settings (as well as Edocman specified settings that can be set at Bac-end > Edocman Configuration >Max File size upload). The default values for PHP will restrict you to a maximum 2 MB upload file size.
On the settings page for the upload module, Edocman calculates and displays the maximum file size that you can set based upon two PHP settings: 'post_max_size' and 'upload_max_filesize'. Since 'post_max_size' is the limit for all the content of your post, many people choose 'post_max_size' to be a multiple of 'upload_max_filesize' to allow multiple files to be uploaded, but this is not essential. The upload module limits the size of a single attachment to be less than either post_max_size, or upload_max_filesize, whichever is smaller. The default PHP values are 2 MB for upload_max_filesize, and 8 MB for post_max_size.
Depending on your host, changing these two PHP variables can be done in a number of places with the most likely being php.ini or .htaccess (depending on your hosting situation).
For example, to increase the limit on uploaded files to 10 MB:
Add the below to the relevant php.ini file (recommended, if you have access). Note that for some hosts this is a system-wide setting. However, for hosts running PHP as a CGI script with suexec (for example) you may be able to put these directives in a php.ini file in your Joomla root directory.
upload_max_filesize = 10M
post_max_size = 10M
Thanks
Dam

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

Moderators: Mr. Dam