View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05286 | Bug reports | Survey taking | public | 2011-06-18 20:46 | 2011-06-21 14:31 |
Reporter | Assigned To | TMSWhite | |||
Priority | high | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.91+ | ||||
Summary | 05286: cannot save survey because no files were uploaded | ||||
Description | got the error at the end, so when saving. got the save.php patch from today, to no avail | ||||
Steps To Reproduce | fill in the survey, at the end select Yes FOUTMELDING: | ||||
Tags | No tags attached. | ||||
Attached Files | bug_05286_fix.patch (1,026 bytes)
# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\xampp\htdocs\limesurvey # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: qanda.php --- qanda.php Base (BASE) +++ qanda.php Locally Modified (Based On LOCAL) @@ -3790,9 +3790,20 @@ $answer .= "<input type='hidden' id='".$ia[1]."_filecount' name='".$ia[1]."_filecount' value="; if (array_key_exists($ia[1]."_filecount", $_SESSION)) - $answer .= $_SESSION[$ia[1]."_filecount"]." />"; + { + $tempval = $_SESSION[$ia[1]."_filecount"]; + if (is_numeric($tempval)) + { + $answer .= $tempval . " />"; + } else + { $answer .= "0 />"; + } + } + else { + $answer .= "0 />"; + } $answer .= "<div id='".$ia[1]."_uploadedfiles'></div>"; | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 10267 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | opera | ||||
Database type & version | mysql 5 | ||||
Server OS (if known) | Windows 2008 | ||||
Webserver software & version (if known) | IIS7 | ||||
PHP Version | 5 | ||||
I get the following error message when filling out the survey as mentioned above: Niet bewaard Door een onverwachte fout is uw respons niet bewaard. Uw respons is niet verloren. Het is doorgestuurd naar de beheerder van de enquête. Uw respons zal op een later tijdstip worden ingevoerd. Error message: Incorrect integer value: '/' for column '88847X407X3623_filecount' at row 1 |
|
Tom, I'm assigning this ticket to you because I saw that you just fixed a similar issue. |
|
A patch to fix the problem is attached. The problem was in qanda.php. |
|
Fixed via the attached patch. Should be available in next 1.91+ release |
|
New version released. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-06-18 20:46 |
|
New Issue | |
2011-06-18 20:46 |
|
File Added: limesurvey_survey_88847.lss | |
2011-06-18 20:58 | Mazi | Note Added: 15497 | |
2011-06-18 20:58 |
|
Issue Monitored: user14558 | |
2011-06-18 20:58 | Mazi | Assigned To | => TMSWhite |
2011-06-18 20:58 | Mazi | Status | new => assigned |
2011-06-18 20:58 | Mazi | Note Added: 15498 | |
2011-06-18 23:12 | TMSWhite | File Added: bug_05286_fix.patch | |
2011-06-18 23:13 | TMSWhite | Note Added: 15499 | |
2011-06-18 23:15 | TMSWhite | Note Added: 15500 | |
2011-06-18 23:15 | TMSWhite | Status | assigned => resolved |
2011-06-18 23:15 | TMSWhite | Resolution | open => fixed |
2011-06-21 14:31 | c_schmitz | Note Added: 15539 | |
2011-06-21 14:31 | c_schmitz | Status | resolved => closed |