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

More
8 months 1 hour ago - 8 months 1 hour ago #233682 by TomasFC
Hello,
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

Warning: Spoiler!
Last edit: 8 months 1 hour ago by TomasFC.

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

More
8 months 10 minutes ago #233684 by Pinkeltje
Is it the same for file upload?
Images might be reduced in size depending on settings for width and height (see description).
The following user(s) said Thank You: TomasFC

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

More
7 months 3 weeks ago #233685 by TomasFC
Yes, files and images. I've uploaded videos that are 45mb.

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

More
7 months 3 weeks ago #233687 by Pinkeltje

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. 

Thanx for reporting. I've made a pull request (BTW itis line 1265 and not 2265).

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.
The following user(s) said Thank You: TomasFC

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

More
7 months 3 weeks ago #233688 by TomasFC

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.
Confirmed. I tested further. 
  • 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.
Audio and video files are making it past the set limits, all other file types work as expected. 
Thank you,
Tomás
The following user(s) said Thank You: Pinkeltje

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

More
7 months 3 weeks ago - 7 months 3 weeks ago #233689 by Pinkeltje
Thank you for confirming my findings. This might help developers to tackle the problem. I have created a bugreport .
Last edit: 7 months 3 weeks ago by Pinkeltje.
The following user(s) said Thank You: TomasFC

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

Time to create page: 0.324 seconds