incompatibility with PHP 7.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
queXS |
Fix Committed
|
Medium
|
Adam Zammit |
Bug Description
since php 5.6 EOL is near, I've upgraded the server PHP to version 7.2
Since then this errors constantly appear:
PHP Warning: session_
PHP Warning: session_name(): Cannot change session name when session is active in /auth-interview
PHP Warning: session_
PHP Warning: Use of undefined constant DEFAULT_LOCALE - assumed 'DEFAULT_LOCALE' (this will throw an Error in a future version of PHP) in /lang.inc.php on line 65
PHP Notice: Undefined index: tryanother in /functions/
since then queXS is unusable.
The questionnaires don't load right at first try (it always gives an error on invalid token), but, after a reload, it loads.
After the first numbers drawn, it stops working for saying that there is no new numbers available (when there are..) This "error" always happens at the same time that the warning "undefined constant DEFAULT_LOCALE" appears in the logs.
I think that each time the user enters the page, a new session is created. Is this the expected functionality?
Also, if a questionnaire starts, in the middle of it, it may stop working, giving an error that the token as been used.
from that moment on, stops working.
#### log #### er.php on line 43 set_cookie_ params( ): Cannot change session cookie parameters when session is active in /auth-interview er.php on line 45
PHP Warning: session_name(): Cannot change session name when session is active in /auth-interview
PHP Warning: session_
FAILED in get_case_id for case
FAILED in get_case_id for case
FAILED in get_case_id for case
.
.
.