View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05329 | Bug reports | Survey taking | public | 2011-07-07 19:32 | 2011-07-22 16:23 |
Reporter | wabrit | Assigned To | c_schmitz | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.91+ | ||||
Fixed in Version | 1.91+ | ||||
Summary | 05329: Undefined index: QUERY_STRING in index.php | ||||
Description | I haven't been able to determine the necessary conditions, but I am occasionally seeing the error: Undefined index: QUERY_STRING in index.php on line 2892 when I launch a survey. | ||||
Steps To Reproduce | Launch survey - if error does occur it always occurs on first page; sometimes it occurs on subsequent pages but not always. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 10377 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MS SQL Server 2008 R2 | ||||
Server OS (if known) | Windows 7 | ||||
Webserver software & version (if known) | Tomcat 6.0.32 | ||||
PHP Version | 5.3.6 | ||||
I've managed to narrow this down some more; the problem only arises when buildsurveysession() is called from the following code in index.php. The code segment is // Let's do this only if
} This happens after I click "Next" on the welcome page; presumably the issue is that the URL loses any query string at this point and simply addresses /index.php. Presumably the offending line of index.php $_SESSION['ls_initialquerystr']=$_SERVER['QUERY_STRING']; should at least do an isset() on the $_SERVER['QUERY_STRING'], but I don't know enough about what the code is doing to know if anything else needs to be done. |
|
Fixed in rev 10454 |
|
New 1.91+ version released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-07 19:32 | wabrit | New Issue | |
2011-07-08 11:04 | wabrit | Note Added: 15677 | |
2011-07-08 11:05 | wabrit | Note Edited: 15677 | |
2011-07-08 17:12 | c_schmitz | Assigned To | => c_schmitz |
2011-07-08 17:12 | c_schmitz | Status | new => assigned |
2011-07-08 17:14 | c_schmitz | Note Added: 15685 | |
2011-07-08 17:14 | c_schmitz | Status | assigned => resolved |
2011-07-08 17:14 | c_schmitz | Fixed in Version | => 1.91+ |
2011-07-08 17:14 | c_schmitz | Resolution | open => fixed |
2011-07-22 16:23 | c_schmitz | Note Added: 15842 | |
2011-07-22 16:23 | c_schmitz | Status | resolved => closed |