View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05173 | Bug reports | Survey taking | public | 2011-05-17 18:42 | 2011-05-25 12:21 |
Reporter | orvil | Assigned To | c_schmitz | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.91 | ||||
Fixed in Version | 1.91+ | ||||
Summary | 05173: Survey shows "Session expired" without reason | ||||
Description | In several cases an active survey shows a "Session expired" Error, even after seconds. In most of the found cases it happens after installing 1.91 after a working 1.9 Version (or sooner). Reinstalling 1.90 eliminates the problem. Mentioned in the LS forum at: Maybe a similar problem, but no valid solution for all cases. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | 10062 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | FF3, FF4, IE8, Opera | ||||
Database type & version | 5 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 5.2.17 | ||||
Rechecked it on a local system (moewes portable):
same result, error warning: "FEHLER register_globals on or off does not affect the problem |
|
No problem here, can't reproduce. Dumb question: Have you tried clearing your cache and cookies? |
|
I've faced the same issue on both versions 1.90 and 1.91 (even latest one, 1.91 plus). Here's how I solved (I've uploaded the file index.php including what I describe below). In the file index.php, locate the following block: if (!isset($_SESSION['s_lang']) && (isset($move)) ) -- WHAT I DISCOVERED -- -- HOW I SOLVED IT -- if (empty($_SESSION)) -- RESULT -- Here's how your index.php file should look like after including the fix (I include a few lines of context) if (isset($_SESSION['srid'])) if (empty($_SESSION)) if (!isset($_SESSION['s_lang']) && (isset($move)) ) |
|
jquinter, thank you for your patch but the thing is that your patch deals with a differnt issue than reported here (both 1.90+ and 1.91+ not working). THe issue above is reported to be: Works on 1.90+ and does not work on 1.91+. I yet have to see such an installation. |
|
Can anybody provide access to such a system? Of course all information will be kept confidential. You can forward login details to Carsten at carsten.schmitz(at)limesurvey.org |
|
Hi, please look at http://www.limesurvey.org/de/forum/deutsches-forum/61028-problem-nach-update-auf-191#61091 There you will find link to a portable system with a test-survey to check out. |
|
I downloaded the ZIP file, but on running the apache it crashed. I downloaded a clean MOWES installation from the vendors page, installed it and copied over the Limesurvey dir and the limesurvey database from the provided ZIP file. It works like a charm here so it is still not reproducable and must be some issue with your system. |
|
I guess the direct access to such a system would be more viable. |
|
ok, so I'll install a separate 1.91 on my account, but this will take a while btw. would you please be so kind to upload your working copy of mowes+lime? |
|
Well, it works here so I am not in a hurry :p Just uploading it - will be availabe under httP://www.limesurvey.org/mowes_portable_lime.zip |
|
thx :-)) I'll test it. |
|
Open index.php, go to line 81 and replace the line if (!isset($_SESSION)) with if (!isset($_SESSION) || empty($_SESSION)) This problem affect all installations which have 'register_globals' activated in the PHP configuration (which you should rather not have activated in general for security purposes - any software relying on register_globals to be activated should be shot dead and buried) Thanks to Gunnar Grieger for access to an affected system. Fixed in rev. 10113 |
|
Released new 1.91+ version. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-05-17 18:42 | orvil | New Issue | |
2011-05-18 11:28 | orvil | Note Added: 15052 | |
2011-05-18 22:58 | c_schmitz | Note Added: 15057 | |
2011-05-18 22:59 | c_schmitz | Assigned To | => c_schmitz |
2011-05-18 22:59 | c_schmitz | Status | new => assigned |
2011-05-18 23:30 | c_schmitz | Note Edited: 15057 | |
2011-05-19 01:37 | jquinter | File Added: index_sessionexpired_fix.zip | |
2011-05-19 01:43 | jquinter | Note Added: 15063 | |
2011-05-19 08:19 | c_schmitz | Note Added: 15065 | |
2011-05-19 10:43 | Mazi | Note Added: 15068 | |
2011-05-19 10:43 | Mazi | Status | assigned => feedback |
2011-05-19 13:34 | orvil | Note Added: 15070 | |
2011-05-19 13:34 | orvil | Status | feedback => assigned |
2011-05-19 13:34 | orvil | Note Edited: 15070 | |
2011-05-19 14:49 | c_schmitz | Note Added: 15073 | |
2011-05-19 14:49 | c_schmitz | Note Added: 15074 | |
2011-05-19 15:14 | orvil | Note Added: 15075 | |
2011-05-19 15:15 | orvil | Note Edited: 15075 | |
2011-05-19 15:16 | orvil | Note Edited: 15075 | |
2011-05-19 17:36 | c_schmitz | Note Added: 15076 | |
2011-05-20 07:27 | orvil | Note Added: 15079 | |
2011-05-23 00:37 | c_schmitz | Note Added: 15088 | |
2011-05-23 00:37 | c_schmitz | File Deleted: index_sessionexpired_fix.zip | |
2011-05-23 00:38 | c_schmitz | Status | assigned => resolved |
2011-05-23 00:38 | c_schmitz | Fixed in Version | => 1.91+ |
2011-05-23 00:38 | c_schmitz | Resolution | open => fixed |
2011-05-25 12:21 | c_schmitz | Note Added: 15100 | |
2011-05-25 12:21 | c_schmitz | Status | resolved => closed |
2011-05-26 09:17 | c_schmitz | Relationship added | has duplicate 05172 |