View Issue Details

IDProjectCategoryView StatusLast Update
15303Bug reportsSurvey takingpublic2019-09-19 00:30
Reporteruibklime1 Assigned To 
Status newResolutionopen 
Product Version3.17.x 
Summary15303: 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.
2 Upload a file (PNG and PDF both tried).
3 Save survey.
4 View survey results.

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.17.16+190906
I will donate to the project if issue is resolvedNo
BrowserChrome (Windows64)
Database & DB-Versionmysql 5.7
Server OS (if known)CentOS 7.6
Webserver software & version (if known)Apache 2.4
PHP VersionPHP 7.3




2019-09-18 15:12


2019-09-18 14_43_38-Window.png (9,175 bytes)   
2019-09-18 14_43_38-Window.png (9,175 bytes)   


2019-09-18 17:32

reporter   ~53643

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.



2019-09-19 00:30

reporter   ~53646

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),

Issue History

Date Modified Username Field Change
2019-09-18 15:12 uibklime1 New Issue
2019-09-18 15:12 uibklime1 File Added: 2019-09-18 14_43_38-Window.png
2019-09-18 17:32 uibklime1 Note Added: 53643
2019-09-19 00:30 uibklime1 Note Added: 53646