View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|15507||Bug reports||[All Projects] Survey taking||public||2019-10-31 21:18||2019-11-13 13:29|
|Target Version||Fixed in Version|
|Summary||15507: Cannot upload file (Note: LS 3.19.3 )|
Error when attempting to upload a file into an active survey. New install on a new server.
|Steps To Reproduce|
New install of LS 3.19.3 on a new file server running PHP Version 7.3.9 with file support enabled.
active survey to test:
enter "YES", and "VERY well" to bypass the first two questions to get to the upload question. I have added a Test question. At first I allow all standard extensions, but have now set it so that only allows png file entry. It will properly report incorrect extension, but will not upload files with the proper extension. Error reported is:
"Sorry, unable to check extension of this file type %s."
This then blocks the survey from moving further.
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||LimeSurvey Version 3.19.3+191023|
|I will donate to the project if issue is resolved||No|
|Browser||Firefox, but tried others|
|Database & DB-Version||mysql 5.0.12|
|Server OS (if known)||Apache/2.4.41|
|Webserver software & version (if known)|
Is that system running a Linux or Microsoft OS?
It sounds similar to https://bugs.limesurvey.org/view.php?id=15331
Linux system. I cannot access above link.
Can't reproduce it on my system. The only difference is the php version (i use 7.3.8)
I did a complete fresh install from a fresh download and used a new database. I set ALL files and directories to 777 to ensure there was no permissions problem. It fails with PHP 7.3.9
This was working fine with 7.3.4. We are going to see if we can back off the PHP to the previous version and test again.
@cdorin : a workaround bug for all of ths bug can be adding a php, config
PS : assign this one to me if you want this workaround fix …
OK - we have determined this is a security issue with the new server. This is documented in issue 14621 which you are working on.
We are operational, but feel this security issue needs to be resolved. Can you please notify us when an update that fixes this is available?
You may close this ticket
@GuernseyResearch, what exact security issue or setting are you referring to?
In moving to our new server we enabled more security for our mail and website. It appears that Limesurvey needs access to files outside its space and that causes the file upload to fail.
Our Limesurvey (version 3 and beta 4) are now working, but the server does not have the currently recommended enhanced security.
Not really ,
even if I set the permissions to EVERY file and directory within the /limesurvey directory to 777 the upload would fail.
|2019-10-31 21:18||GuernseyResearch||New Issue|
|2019-11-01 09:13||Mazi||Note Added: 54303|
|2019-11-01 14:11||GuernseyResearch||Note Added: 54323|
|2019-11-03 16:05||cdorin||Note Added: 54351|
|2019-11-04 18:57||GuernseyResearch||Note Added: 54393|
|2019-11-05 07:03||DenisChenu||Note Added: 54394|
|2019-11-05 07:03||DenisChenu||Note Edited: 54394||View Revisions|
|2019-11-05 19:56||GuernseyResearch||Note Added: 54414|
|2019-11-05 19:56||GuernseyResearch||Note Added: 54415|
|2019-11-05 21:56||Mazi||Note Added: 54416|
|2019-11-06 12:04||DenisChenu||Note Added: 54424|
|2019-11-06 17:20||GuernseyResearch||Note Added: 54444|
|2019-11-06 17:30||DenisChenu||Note Added: 54445|
|2019-11-06 17:36||GuernseyResearch||Note Added: 54447|