View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09592Bug reportsSurvey editingpublic2015-09-08 16:50
Reporteranthony_b Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09592: Unable to preview survey when using database sessions
Description

When using database sessions it is not possible to preview a survey. The welcome page will appear, but when you click next, a session error is displayed:


Error

We are sorry but your session has expired.

Either you have been inactive for too long, you have cookies disabled for your browser, or there were problems with your connection.

Steps To Reproduce
  1. Enable the following lines in application/config/config.php:

    'session' => array (
        'class' => 'system.web.CDbHttpSession',
        'connectionID' => 'db',
        'sessionTableName' => '{{sessions}}',
    ),
  2. Login to admin interface and select a survey

  3. Click 'execute this survey'

  4. Click 'next' in the survey preview

Additional Information

I have found this problem in earlier versions of 2.05. The same problem has been replicated in our production environment (Debian, Postgresql 9.1, PHP 5.3).

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)150310
I will donate to the project if issue is resolvedYes
BrowserChromium 41.0.2272.76
Database type & versionPostgreSQL 9.3.5
Server OS (if known)Gentoo
Webserver software & version (if known)Apache 2.2.29
PHP Version5.5.23

Relationships

related to 09644 closedDenisChenu Unable to preview survey when using database sessions - link bug 09592 

Users monitoring this issue

There are no users monitoring this issue.

Activities

riqcles

riqcles

2015-05-13 16:34

reporter   ~32204

Same problem with the last release : 150508

CentOS 6.5, Postgresql 9.3.5 , PHP 5.4.33)

c_schmitz

c_schmitz

2015-05-19 11:55

administrator   ~32225

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15188

c_schmitz

c_schmitz

2015-05-19 11:56

administrator   ~32226

Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15189

c_schmitz

c_schmitz

2015-05-19 11:58

administrator   ~32227

See https://github.com/yiisoft/yii/issues/3476

c_schmitz

c_schmitz

2015-05-20 11:11

administrator   ~32237

Version 2.05+ Build 150520 released.

Related Changesets

LimeSurvey: master 558ee85c

2015-05-19 09:53:49

c_schmitz

Details Diff
Fixed issue 09592: Unable to run survey when using database sessions with Postgres
Dev Bug in Yii framework - PR submitted to the Yii project
Affected Issues
09592
mod - application/commands/InstallCommand.php Diff File
mod - application/controllers/InstallerController.php Diff File
mod - framework/web/CDbHttpSession.php Diff File

LimeSurvey: 2.06 129a5db2

2015-05-19 09:53:49

c_schmitz

Details Diff
Fixed issue 09592: Unable to run survey when using database sessions with Postgres
Dev Bug in Yii framework - PR submitted to the Yii project
Affected Issues
09592
mod - application/commands/InstallCommand.php Diff File
mod - application/controllers/InstallerController.php Diff File
mod - framework/web/CDbHttpSession.php Diff File

Issue History

Date Modified Username Field Change
2015-03-31 01:32 anthony_b New Issue
2015-05-13 16:34 riqcles Note Added: 32204
2015-05-19 11:55 c_schmitz Changeset attached => LimeSurvey master 558ee85c
2015-05-19 11:55 c_schmitz Note Added: 32225
2015-05-19 11:55 c_schmitz Assigned To => c_schmitz
2015-05-19 11:55 c_schmitz Resolution open => fixed
2015-05-19 11:56 c_schmitz Changeset attached => LimeSurvey 2.06 129a5db2
2015-05-19 11:56 c_schmitz Note Added: 32226
2015-05-19 11:56 c_schmitz Status new => assigned
2015-05-19 11:56 c_schmitz Status assigned => resolved
2015-05-19 11:56 c_schmitz Fixed in Version => 2.05+
2015-05-19 11:58 c_schmitz Note Added: 32227
2015-05-20 11:11 c_schmitz Note Added: 32237
2015-05-20 11:11 c_schmitz Status resolved => closed
2015-05-21 16:22 riqcles Issue Monitored: riqcles
2015-05-21 16:22 riqcles Issue End Monitor: riqcles
2015-09-08 16:50 c_schmitz Relationship added related to 09644
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing