View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|15303||Bug reports||Survey taking||public||2019-09-18 15:12||2019-09-19 00:30|
|Summary||15303: Upload silently fails. File exists in tmp/uploads but not saved with survey|
After upgrading to 3.17.7 from 250, we tested a survey that had been imported (and working). The upload-file at first silently failed. Then we upgraded to 3.17.16 and now the upload function resulted in a JSON message (see attached). The file was stuck in $LIMESURVEY/tmp/uploads . The survey admin could not see any such file in the survey results.
|Steps To Reproduce|
1 Take a survey with a file-question.
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||3.17.16+190906|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||mysql 5.7|
|Server OS (if known)||CentOS 7.6|
|Webserver software & version (if known)||Apache 2.4|
|PHP Version||PHP 7.3|
Problem is independent of migrated-database: a fresh database/install was used, a new survey was created, and we experienced the same problem. Permissions on both tmp and uploads are recursively set as directed (owned by HTTP service and writable by them).
On a Windows-based installation, problem is NOT reproduced.
UPDATE: problem occurs only when sql-debug is on. (Actually, I didn't test the case when debug is on but sql-debug is off),