Comment 0 for bug 1734786

Revision history for this message
Vasya Pupkin (shadowlmd) wrote : session.use_trans_sid value parsed incorrectly

If I put "session.use_trans_sid = Off" in php.ini, the actual value of session.use_trans_sid becomes empty, which breaks functionality. For example, you can't put anything into your cart in Opencart CMS. Issue can be reproduced with console php:

$ cat .user.ini
session.use_trans_sid = Off
$ php -c .user.ini -r 'echo "session.use_trans_sid = \"".ini_get("session.use_trans_sid")."\"\n";'
session.use_trans_sid = ""

When "0" is used instead of "Off", everything works properly:

$ cat .user.ini
session.use_trans_sid = 0
$ php -c .user.ini -r 'echo "session.use_trans_sid = \"".ini_get("session.use_trans_sid")."\"\n";'
session.use_trans_sid = "0"

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: php (not installed)
ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95
Uname: Linux 4.4.0-101-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.13
Architecture: amd64
Date: Tue Nov 28 02:40:42 2017
InstallationDate: Installed on 2011-04-14 (2419 days ago)
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1)
SourcePackage: php-defaults
UpgradeStatus: Upgraded to xenial on 2016-07-30 (485 days ago)