View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04977 | Bug reports | Survey taking | public | 2011-02-23 00:27 | 2011-04-11 11:30 |
Reporter | Assigned To | c_schmitz | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90+ | ||||
Fixed in Version | 1.91RC6 | ||||
Summary | 04977: GSoC: variable $debug does not exist | ||||
Description | When the survey is submitted and cannot be saved in the DB, the answers are emailed to the survey's manager by function index.php::submitfailed($errormsg=''). However, It fails because on line 2033 It try to use $debug variable which was never declared. Just add on index.php | ||||
Additional Information | Version 1.90+ Build 9642 | ||||
Tags | No tags attached. | ||||
Attached Files | 04977-stable.patch (322 bytes)
Index: index.php =================================================================== --- index.php (revision 9887) +++ index.php (working copy) @@ -2214,6 +2214,7 @@ function submitfailed($errormsg='') { + global $debug; global $thissurvey, $clang; global $thistpl, $subquery, $surveyid, $connect; 04977-dev.patch (322 bytes)
Index: index.php =================================================================== --- index.php (revision 9887) +++ index.php (working copy) @@ -2213,6 +2213,7 @@ function submitfailed($errormsg='') { + global $debug; global $thissurvey, $clang; global $thistpl, $subquery, $surveyid, $connect; | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 9642 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | NA | ||||
Database type & version | NA | ||||
Server OS (if known) | NA | ||||
Webserver software & version (if known) | NA | ||||
PHP Version | NA | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-23 00:27 |
|
New Issue | |
2011-02-23 16:46 | Mazi | Assigned To | => c_schmitz |
2011-02-23 16:46 | Mazi | Status | new => assigned |
2011-02-23 16:47 | Mazi | Summary | variable $debug does not exist => GSoC: variable $debug does not exist |
2011-03-07 22:09 | nehiljain | Issue Monitored: nehiljain | |
2011-03-11 18:24 | nehiljain | File Added: 04977-stable.patch | |
2011-03-11 18:27 | nehiljain | Note Added: 14410 | |
2011-03-11 19:31 | nehiljain | File Added: 04977-dev.patch | |
2011-03-12 23:49 | nehiljain | Issue End Monitor: nehiljain | |
2011-03-21 23:03 | c_schmitz | Note Added: 14501 | |
2011-03-21 23:03 | c_schmitz | Status | assigned => resolved |
2011-03-21 23:03 | c_schmitz | Fixed in Version | => 1.91RC6 |
2011-03-21 23:03 | c_schmitz | Resolution | open => fixed |
2011-04-11 11:30 | c_schmitz | Note Added: 14767 | |
2011-04-11 11:30 | c_schmitz | Status | resolved => closed |