Booked Scheduler Community Support
December 14, 2018, 10:38:51 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked 2.7 beta has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: ini_set() and session_set_cookie_params() in booked/lib/Server.php  (Read 102 times)
oleh1964
Newbie
*

Karma: 0
Posts: 14


« on: November 24, 2018, 05:21:17 AM »

Rows in syslog:

PHP Warning:  ini_set(): A session is active. You cannot change the session module's ini settings at this time in /var/www/booked/lib/Server/Server.php on line 74
PHP Warning:  session_set_cookie_params(): Cannot change session cookie parameters when session is active in /var/www/booked/lib/Server/Server.php on line 75


Booked v. 2.7.2

own@booking:~$ php --version
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
own@booking:~$


Logged
Geinado
Newbie
*

Karma: 0
Posts: 2


« Reply #1 on: November 30, 2018, 07:04:42 AM »

We are pleased to provide the essence to those who need more information.
Logged
oleh1964
Newbie
*

Karma: 0
Posts: 14


« Reply #2 on: November 30, 2018, 07:25:45 AM »

After I've researched similar problems on a lot of IT forums it seems like this is a problem (not very serious) of PHP v.7.2.

Shortly saying, ini_set() can't be called if the session is active already.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!