View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05937 | Bug reports | Other | public | 2012-03-21 14:09 | 2012-03-26 18:42 |
| Reporter | sandrocasali | Assigned To | c_schmitz | ||
| Priority | normal | Severity | partial_block | ||
| Status | closed | Resolution | won't fix | ||
| Product Version | 1.92+ | ||||
| Summary | 05937: $sessionhandler = 'db'; >> Fatal error: session_start() when I want to test a questionnaire during the design | ||||
| Description | I have this following php error when I want to test a questionnaire during the design (before activate it) : PHP Fatal error: session_start() : Failed to initialize storage module: user (path: /var/lib/php/session) in /opt/limesurvey/192plus-build120311/index.php on line 218 I precise that I've change the session handler = 'file' by 'db' because with my configuration it was more stable ... The effect of PHP BUG https://bugs.php.net/bug.php?id=32330 | ||||
| Steps To Reproduce | 1/ Change the parameter in the config-default.php by $sessionhandler = 'db'; | ||||
| Additional Information | See the PHP BUG at https://bugs.php.net/bug.php?id=32330 | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 120311 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1 | ||||
| Server OS (if known) | Linux CentOS release 5.7 | ||||
| Webserver software & version (if known) | Apache/2.2.3 | ||||
| PHP Version | 5.1.6 | ||||
|
So, how do you know it is a PHP bug? |
|
|
the problem is that i cannot upgrade to PHP 5.3 i have workaround the problem inserting the follow code in index.php after the calls to session_destroy() : if($sessionhandler=='db'){ADODB_Session::_init();if(empty($ADODB_SESSION_READONLY))register_shutdown_function('session_write_close');} |
|
|
Thank you for reporting this. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-03-21 14:09 | sandrocasali | New Issue | |
| 2012-03-21 14:51 | c_schmitz | Assigned To | => c_schmitz |
| 2012-03-21 14:51 | c_schmitz | Status | new => assigned |
| 2012-03-21 14:52 | c_schmitz | Note Added: 18022 | |
| 2012-03-21 14:52 | c_schmitz | Status | assigned => feedback |
| 2012-03-21 14:57 | sandrocasali | Note Added: 18023 | |
| 2012-03-21 14:57 | sandrocasali | Status | feedback => assigned |
| 2012-03-26 18:42 | c_schmitz | Note Added: 18090 | |
| 2012-03-26 18:42 | c_schmitz | Status | assigned => closed |
| 2012-03-26 18:42 | c_schmitz | Resolution | open => won't fix |