After upgrading to 3.7.2 in my dev environment, it seems that session does not work on nginx + phpbrew
public $session_handler = 'none';
Normal behavior
Error displaying the error page
Ubuntu 16.04 LTS
nginx 1.10.0
php 7.1.5 + fpm
The error happens when Joomla! tries to start the session with no success in /libraries/joomla/session/handler/native.php
if (!session_start())
{
throw new RuntimeException('Failed to start the session');
}
In configuration.php if I set public $session_handler = 'database';
everything works fine.
Labels |
Added:
?
|
Category | ⇒ | Administration |
Status | New | ⇒ | Information Required |
i have nginx and cannot confirm the issue
anyway the session handler doesn't have nothing to do with nginx. nginx does not process the sessions.
The session handler "PHP" (the config public $session_handler = 'none';
), get the session handler and save path from the values configured in the php environment: php.ini (or in some cases in php-fpm pools config files).
Check your log files for errors.
Check your php.ini configs session.save_handler = xxxxx
and session.save_path = xxxxx
See #8565 (comment) for more info
@franz-wohlkoenig imho this can be closed
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-03 12:27:23 |
Closed_By | ⇒ | franz-wohlkoenig |
closed as suggested.
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16364
Why is session handler set to none? This is not possible in the Joomla! configuration page. It should always be database or file.