ncaught RuntimeException: Session Storage was not able to create directory "/var/lib/php/sessions".

Install and configure FormaLMS and DoceboCE
Post Reply
rudy
FormaLms User
Posts: 48
Joined: Fri Nov 29, 2019 7:33 am

ncaught RuntimeException: Session Storage was not able to create directory "/var/lib/php/sessions".

Post by rudy »

Hi I am trying to install forma lms 3.0.x version and i am getting this error, can you please support what could be the reason, it is on server had plesk installed

Uncaught RuntimeException: Session Storage was not able to create directory "/var/lib/php/sessions". in /var/www/vhosts/serverxxx.com/kx.serverxxx.com/formalms/formalms/vendor/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php:49 Stack trace: #0 /var/www/vhosts/serverxxx.com/kx.serverxxx.com/formalms/formalms/lib/Session/Handlers/FilesystemHandler.php(23): Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler->__construct() #1 /var/www/vhosts/serverxxx.com/kx.serverxxx.com/formalms/formalms/lib/Session/SessionManager.php(91): FormaLms\lib\Session\Handlers\FilesystemHandler->__construct() #2 /var/www/vhosts/serverxxx.com/kx.serverxxx.com/formalms/formalms/install/bootstrap.php(31): FormaLms\lib\Session\SessionManager->initSession() #3 /var/www/vhosts/serverxxx.com/kx.serverxxx.com/formalms/formalms/install/index.php(6): include('...') #4 {main} thrown in /var/www/vhosts/serverxxx.com/kx.serverxxx.com/formalms/formalms/vendor/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 49
alfa24
Senior Boarder
Posts: 2165
Joined: Fri Nov 24, 2017 8:45 am

Re: ncaught RuntimeException: Session Storage was not able to create directory "/var/lib/php/sessions".

Post by alfa24 »

Hi, that is a server issue, not Forma LMS.
If you google around, you'll find many topics about.
Per supporto GRATUITO contattatemi in privato qui
rudy
FormaLms User
Posts: 48
Joined: Fri Nov 29, 2019 7:33 am

Re: ncaught RuntimeException: Session Storage was not able to create directory "/var/lib/php/sessions".

Post by rudy »

thanks I already solved, Can you help in solving this error, which i get when i click on video conference even after activating the plugin
Uncaught Error: Class 'Plugin\ConferenceBBB\FormaLms\lib\Get'

not found in /var/www/vhosts/server.com/ssss/formalms/formalms/plugins/ConferenceBBB/Conference.php:201 Stack trace: #0 /var/www/vhosts/server.com/ssss/formalms/formalms/appScs/lib/lib.conference.1.3.plugins.php(368): Plugin\ConferenceBBB\Conference->getUrl() #1 /var/www/vhosts/server.com/ssss/formalms/formalms/appLms/modules/conference/conference.php(135): Conference_Manager->getUrl() #2 /var/www/vhosts/server.com/ssss/formalms/formalms/appLms/modules/conference/conference.php(863): conference_list() #3 /var/www/vhosts/server.com/ssss/formalms/formalms/appLms/class.module/class.conference.php(32): dispatchConference() #4 /var/www/vhosts/server.com/ssss/formalms/formalms/appLms/index.php(78): Module_Conference->loadBody() #5 {main} thrown in /var/www/vhosts/server.com/ssss/formalms/formalms/plugins/ConferenceBBB/Conference.php on line 201
alfa24
Senior Boarder
Posts: 2165
Joined: Fri Nov 24, 2017 8:45 am

Re: ncaught RuntimeException: Session Storage was not able to create directory "/var/lib/php/sessions".

Post by alfa24 »

In /var/www/vhosts/server.com/ssss/formalms/formalms/plugins/ConferenceBBB/Conference.php

change:

Code: Select all

use Get;
to:

Code: Select all

use FormaLms\lib\Get;
Per supporto GRATUITO contattatemi in privato qui
Post Reply