- Posts: 26
- Thank you received: 3
Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Attachment limits ignored and Typo
The limits set in the configuration tab for uploads of images and files is not respected. Users can upload files bigger that the limits set there, up to the limits set in the php.ini file.
I have set limits for image uploads to 6000k and the same for files. The server php limit is 64M. Users can upload files and images bigger than 6000k and up to 64M without issues (this is a problem). If the file is bigger than 64M, they get an error "no file was uploaded" (as expected).
I have the latest Kunena and Joomla also using the default Kunena template.
Clearly, Kunena is no longer enforcing the upload limits. Is there a way to fix this?
Also, there is a typo, which does not seem related, with the server's upload limit label in the configuration uploads tab where it says "... & upload_max_size: " the value is not picked up from the server because of a typo in the file administrator/components/com_kunena/tmpl/config/default.php on line 2265 & 1376 is has fileSize instead of filesize.
Help on this issue is appreciated.
Thank you,
Tomás
Kunena 6.4.4
=============
System Information
=============
php: Linux Ubuntu
dbserver: mysql
dbversion: 8.0.42-0ubuntu0.22.04.1
dbcollation: utf8mb4_unicode_ci
dbconnectioncollation: utf8mb4_0900_ai_ci
dbconnectionencryption:
dbconnencryptsupported: true
phpversion: 8.3.11
server: Apache/2.4.52 (Ubuntu)
sapi_name: apache2handler
version: Joomla! 5.3.2 Stable [ Timu ] 8-July-2025 16:00 GMT
compatpluginenabled: true
compatpluginparameters:
=============
PHP Settings
=============
upload_max_filesize: 64M
post_max_size: 64M
Please Log in or Create an account to join the conversation.
- Posts: 973
- Thank you received: 153
Images might be reduced in size depending on settings for width and height (see description).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 973
- Thank you received: 153
Thanx for reporting. I've made a pull request (BTW itis line 1265 and not 2265).Also, there is a typo, which does not seem related, with the server's upload limit label in the configuration uploads tab where it says "... & upload_max_size: " the value is not picked up from the server because of a typo in the file administrator/components/com_kunena/tmpl/config/default.php on line 2265 & 1376 is has fileSize instead of filesize.
I can reproduce ignored limit for .mp4, but not for i.e. .zip or .pdf. As far as I can see images are significantly reduced in size during upload. You can see this in Kunena - Attachments.
Please Log in or Create an account to join the conversation.
Confirmed. I tested further.I can reproduce ignored limit for .mp4, but not for i.e. .zip or .pdf. As far as I can see images are significantly reduced in size during upload. You can see this in Kunena - Attachments.
- Images: Yes, even though the original uploaded file is past the limit, the file is significantly reduced in size after upload, below the limit. That was my mistake for not checking the final file size. When reducing the allowed limit for images and uploading files that surpass the limit even after size reduction, there is an error message of limit exceeded, as it should.
- Audio and video files, mp4, mp3, m4a, wav: make it past the set limits. This should not be the case.
- All other files, pdf, zip, txt, vtt, have size limits enforced, as expected.
- I tried VTT as a text based and non video/audio file which had to be added to the list of allowed file types to test if the limits were only applied to the default types of files allowed, but it's not the case as the VTT file was not allowed to upload if larger than the set limit.
Thank you,
Tomás
Please Log in or Create an account to join the conversation.
- Posts: 973
- Thank you received: 153
Please Log in or Create an account to join the conversation.