All questions about EDocman extension

Upload file size issues

  • Mike Waxman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago #118824 by Mike Waxman
Upload file size issues was created by Mike Waxman
Hi,

Love this component but been having a couple of issues.

1. When I set the max file size in the back end to 2MB for example, the front end still shows the INI setting of 32 MB.

2. With the the server ini setting is set to a max of 32MB, when I try and upload a file bigger than this, the front end upload page hangs for a bit while it's uploading and then redirects to:

upload?id=0

with no error message. I tested this on another server with a max file size of 2MB and I got a max file size error as expected but there seems to be a problem with the larger file size limits.

Any ideas how I can address these issues?

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

More
6 years 5 months ago #118827 by Mr. Dam
Replied by Mr. Dam on topic Upload file size issues
Hi Steve,
The Upload field is designed by Joomla core, and it will show the value of PHP variable: upload_max_filesize of your PHP system even you can change the Edocman Configuration to increase value for field: Max Upload to 32 MB. And even you change value of Edocman configure option: Max Upload to 32 MB, you will still not able to upload files bigger than 2MB, because your PHP setting only allow you to upload file smaller than 2MB.
Simply, you can only setup Max Upload (in Edocman) with value smaller than PHP variable: upload_max_filesize
Thanks
Dam

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

  • Mike Waxman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago #118829 by Mike Waxman
Replied by Mike Waxman on topic Upload file size issues
Hi Dam,

I've now set the php NII setting to 64MB so I now get a warning when files are bigger than 32MB as that's the limit I set in the EDocman config.

The only problem now is the front end is saying MAX UPLOAD FILE SIZE: 64MB.

Is there an override I can do to make this display the EDocman max file size instead of the PHP ini max upload?

Cheers,
Steve.

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

More
6 years 5 months ago #118845 by Mr. Dam
Replied by Mr. Dam on topic Upload file size issues
Hi Steve,
Could you please submit ticket and send your site url with super admin account so i can check the problem with PHP INI file?
By the way, we aren't able to override PHP setting.
Thanks
Dam

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

Moderators: Mr. Dam