- Posts: 275
- Thank you received: 3
All questions about EDocman extension
Issue with “Maximum Upload Size” Display in Frontend Upload Form
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
1 day 2 hours ago #175874
by hide10
Issue with “Maximum Upload Size” Display in Frontend Upload Form was created by hide10
Hello,
I believe the value set in Upload Configuration: Max Upload File Size should be reflected in the “Maximum upload size” displayed on the frontend upload form.
However, the current behavior varies depending on the site: sometimes it shows the value from the server’s Default INI Setting, and other times it simply displays “2MB.”
This seems to be a bug.
Could you please check the behavior?
Thanks
P.S. My system information:
- Joomla 5.4
- EDocman 3.1
- PHP 8.2.20
- MySQL 8.0.42
- Apache
I believe the value set in Upload Configuration: Max Upload File Size should be reflected in the “Maximum upload size” displayed on the frontend upload form.
However, the current behavior varies depending on the site: sometimes it shows the value from the server’s Default INI Setting, and other times it simply displays “2MB.”
This seems to be a bug.
Could you please check the behavior?
Thanks
P.S. My system information:
- Joomla 5.4
- EDocman 3.1
- PHP 8.2.20
- MySQL 8.0.42
- Apache
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13390
- Thank you received: 1752
22 hours 59 minutes ago #175882
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Hi,
The line showing "Maximum Upload file size" is a core feature of Joomla. However, you can handle it as follows:
1. Open the file: root/language/en-GB/en-GB.com_edocman.ini
2. Add this line:
JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT=""
You can enter a custom translation that matches your upload limit, or simply leave it empty to hide this line.
Best regards,
Dam
The line showing "Maximum Upload file size" is a core feature of Joomla. However, you can handle it as follows:
1. Open the file: root/language/en-GB/en-GB.com_edocman.ini
2. Add this line:
JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT=""
You can enter a custom translation that matches your upload limit, or simply leave it empty to hide this line.
Best regards,
Dam
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 275
- Thank you received: 3
22 hours 44 minutes ago #175884
by hide10
Replied by hide10 on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Thank you for the explanation.
Just to clarify my original point:
The issue I reported is not about the text string itself, but about the inconsistency between the value set in “Max Upload File Size” and the value displayed as “Maximum upload size” on the frontend upload form.
In my understanding, the frontend display should normally reflect the configuration value set in EDocman. However, depending on the site, the displayed value is sometimes taken from the server’s default INI setting or fixed at 2MB.
This inconsistency made me think that there might be an issue in the logic that determines which value is shown.
Could you please check this behavior on your side?
Thank you for looking into this.
Just to clarify my original point:
The issue I reported is not about the text string itself, but about the inconsistency between the value set in “Max Upload File Size” and the value displayed as “Maximum upload size” on the frontend upload form.
In my understanding, the frontend display should normally reflect the configuration value set in EDocman. However, depending on the site, the displayed value is sometimes taken from the server’s default INI setting or fixed at 2MB.
This inconsistency made me think that there might be an issue in the logic that determines which value is shown.
Could you please check this behavior on your side?
Thank you for looking into this.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13390
- Thank you received: 1752
22 hours 36 minutes ago #175885
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Hi,
The file responsible for displaying the upload size is created by Joomla at this location: layouts/joomla/form/field/file.php. Joomla takes the value from the PHP ini settings, which is why you see this inconsistency.
Additionally, Joomla does not allow overriding the layout for this file, so the only solution is to override the text in the language file.
Thanks
Dam
The file responsible for displaying the upload size is created by Joomla at this location: layouts/joomla/form/field/file.php. Joomla takes the value from the PHP ini settings, which is why you see this inconsistency.
Additionally, Joomla does not allow overriding the layout for this file, so the only solution is to override the text in the language file.
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.