[horde] HORDE: PHP ERROR: ini_set(): Cannot set 'user' save handler by ini_set() or session_module_name()

Luis Felipe Marzagao lfbm.andamentos at gmail.com
Tue Aug 4 00:12:41 UTC 2020


Hello:

I´m getting a several error messages regarding ini_set on SessionHandler:

Aug  3 21:05:01 einstein HORDE: PHP ERROR: ini_set(): Cannot set 'user' 
save handler by ini_set() or session_module_name() [pid 568 on line 95 
of "/usr/share/php/Horde/SessionHandler.php"]

The part mentioned goes like this:

  81     public function __construct(Horde_SessionHandler_Storage $storage,
  82                                 array $params = array())
  83     {
  84         $params = array_merge($this->_params, $params);
  85
  86         $this->_logger = isset($params['logger'])
  87             ? $params['logger']
  88             : new Horde_Support_Stub();
  89         unset($params['logger']);
  90
  91         $this->_params = $params;
  92         $this->_storage = $storage;
  93
  94         if (empty($this->_params['noset'])) {
  95             ini_set('session.save_handler', 'user');
  96             session_set_save_handler(
  97                 array($this, 'open'),
  98                 array($this, 'close'),
  99                 array($this, 'read'),
100                 array($this, 'write'),
101                 array($this, 'destroy'),
102                 array($this, 'gc')
103             );
104         }
105     }

Any clues?

Thanks a lot!



More information about the horde mailing list