View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18363Bug reportsInstallationpublic2023-06-16 10:52
Reporterritapas Assigned Toc_schmitz  
PrioritynoneSeveritytweak 
Status closedResolutionfixed 
Product Version3.28.x 
Fixed in Version5.6.x 
Summary18363: install process generates "buggy" config file
Description

the limesurvey installer generates a config.php file in which the 'session' part is as follows:
'session' => array (
'sessionName'=>'LS-CDAGLJWFNFAVEZJU'
// Uncomment the following lines if you need table-based sessions.
// Note: Table-based sessions are currently not supported on MSSQL server.
// 'class' => 'application.core.web.DbHttpSession',
// 'connectionID' => 'db',
// 'sessionTableName' => '{{sessions}}',
),

If you just uncomment the lines as stated, you get wrong positioning for commas, like this:
'session' => array (
'sessionName'=>'LS-CDAGLJWFNFAVEZJU' <----- missing comma
// Uncomment the following lines if you need table-based sessions.
// Note: Table-based sessions are currently not supported on MSSQL server.
'class' => 'application.core.web.DbHttpSession',
'connectionID' => 'db',
'sessionTableName' => '{{sessions}}',
),

Steps To Reproduce

Steps to reproduce

run installer on a fresh limesurvey ce installation

Expected result

config.php files should have a line like this
// , 'class' => 'application.core.web.DbHttpSession',

Actual result

limesurvey won't work

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)3.28.24 (build 220816)
I will donate to the project if issue is resolvedNo
Browsern/a
Database type & versionmariadb-10.3.32-2
Server OS (if known)Red Hat Enterprise Linux release 8.5 (Ootpa)
Webserver software & version (if known)httpd-2.4.37-43
PHP Versionphp-7.2.24

Users monitoring this issue

ritapas

Activities

c_schmitz

c_schmitz

2023-06-16 10:52

administrator   ~75664

This seems to be resolved in 5.x and up by adding a trailing comma to the sessionName line
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

c_schmitz

Issue History

Date Modified Username Field Change
2022-09-20 14:20 ritapas New Issue
2022-09-22 13:06 ritapas Issue Monitored: ritapas
2022-09-22 13:06 ritapas Bug heat 0 => 2
2022-09-24 00:00 gabrieljenik Status new => acknowledged
2023-06-16 10:52 c_schmitz Assigned To => c_schmitz
2023-06-16 10:52 c_schmitz Status acknowledged => resolved
2023-06-16 10:52 c_schmitz Resolution open => fixed
2023-06-16 10:52 c_schmitz Note Added: 75664
2023-06-16 10:52 c_schmitz Bug heat 2 => 4
2023-06-16 10:52 c_schmitz Status resolved => closed
2023-06-16 10:52 c_schmitz Fixed in Version => 5.6.x