Public bug reported:

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)

** Affects: php-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1734786

Title:
  session.use_trans_sid value parsed incorrectly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-defaults/+bug/1734786/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to