View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17965Bug reportsSurvey takingpublic2022-03-17 13:01
Reporterbbraeuer Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.2.x 
Summary17965: File Upload -> Shown size does not match question settings
Description

Hi,

a change settings of in the file upload size is not changing the text in the file upload popup. This is causing some confusion for the participants.

Kind regards
Benny

Steps To Reproduce

Steps to reproduce

Create a question of type File Upload
Change setting "Maximum file size allowed (in KB)" to another size than the default of 2048 -> e.g. 20480
View question and press file upload

Expected result

In the popup the changed file size should appear as info

Actual result

In the popup the file size is fixed with 2048 kb and does not relate to the changed setting

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)5.3.5+220314
I will donate to the project if issue is resolvedNo
Browser
Database type & version mysql 5.6.51-log
Server OS (if known)
Webserver software & version (if known)
PHP Version7.2.24-0ubuntu0.18.04.11

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-03-16 16:51

developer   ~68697

Check your phpinfo : surely limited by your server: we get the minimum.

BUT : there are a deprecated feature …
In 3.X : max file size by phpinfo are shown, not in 5.X

galads

galads

2022-03-17 09:20

reporter   ~68705

I think it is a limitation on your server. I cannot reproduce the issue. It works fine for me. Can you check your phpinfo and change the upload size?

bbraeuer

bbraeuer

2022-03-17 11:30

reporter   ~68711

Hi,

thanks for your response. Yes, you are right, upload_max_filesize was at 2M and is now 20M. But then, the limit was still not shown as 20480 kb, but as 8192 kb.
So I checked phpinfo for this value and hat to set post_max_size also to a higher value to get the wished result. So this limit should be also shown in the settings so the editor is aware of the server limits.

Kind regards
Benny

galads

galads

2022-03-17 13:01

reporter   ~68717

Hello, since this is not a bug, I will close the report. If you feel otherwise, you can reopen the ticket.

Issue History

Date Modified Username Field Change
2022-03-16 15:59 bbraeuer New Issue
2022-03-16 15:59 bbraeuer File Added: Bildschirmfoto 2022-03-16 um 15.39.12.png
2022-03-16 15:59 bbraeuer File Added: Bildschirmfoto 2022-03-16 um 15.57.24.png
2022-03-16 16:51 DenisChenu Note Added: 68697
2022-03-16 16:51 DenisChenu File Added: Capture d’écran du 2022-03-16 16-51-41.png
2022-03-16 16:51 DenisChenu Bug heat 0 => 2
2022-03-17 09:20 galads Note Added: 68705
2022-03-17 09:20 galads Bug heat 2 => 4
2022-03-17 09:20 galads Assigned To => galads
2022-03-17 09:20 galads Status new => feedback
2022-03-17 11:30 bbraeuer Note Added: 68711
2022-03-17 11:30 bbraeuer Bug heat 4 => 6
2022-03-17 11:30 bbraeuer Status feedback => assigned
2022-03-17 13:01 galads Note Added: 68717
2022-03-17 13:01 galads Status assigned => closed
2022-03-17 13:01 galads Resolution open => fixed