Session initialization failure.
Posted: Mon Mar 04, 2019 10:35 pm
Hi
Just to share my workaround with the community.
I have created a bludit docker image using the official centos image.
Everything seems to be ok until I started the container and tried to browser the bludit admin interface. At this time I received the message below:
"Bludit CMS. Session initialization failure."
The apache has logged:
To fix that I set permissions to apache user to write on /var/lib/php/sessions.
Just to share my workaround with the community.
I have created a bludit docker image using the official centos image.
Everything seems to be ok until I started the container and tried to browser the bludit admin interface. At this time I received the message below:
"Bludit CMS. Session initialization failure."
The apache has logged:
Code: Select all
PHP Warning: session_start(): open(/var/lib/php/session/sess_id5fbtj1dijofp0r8hfjg36dno, O_RDWR) failed: Permission denied (13) in /srv/example.com/bludit/bl-kernel/helpers/session.class.php on line 34, referer: http://www.example.com/