Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

PHP7.2 Dev mode - session_module_name #138

Open
Nuranto opened this issue Jun 1, 2018 · 2 comments
Open

PHP7.2 Dev mode - session_module_name #138

Nuranto opened this issue Jun 1, 2018 · 2 comments

Comments

@Nuranto
Copy link

Nuranto commented Jun 1, 2018

Hi,

This is not a big issue, but in developer mode, with php 7.2, and <session_save><![CDATA[db]]></session_save> in local.xml we got :

Recoverable Error: session_module_name(): Cannot set 'user' save handler by ini_set() or session_module_name() in /app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 83

@ivanweiler
Copy link
Contributor

we'll check it out, thx for reporting

@korostii
Copy link

korostii commented Feb 7, 2019

PHP documentation says that the user value is forbidden since 7.2.0 and it seems that it would be okay to simply skip this call.
FYI Symphony ran into a very similar issue, as well: symphonycms/symphonycms#2783 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants