iPage again

Permalink
I am installing 5.7 on iPage and having below error message. Some people got it fixed in forum, but i couldn't. Please help.

{"error":true,"message":"session_start(): open(\/var\/php_sessions\/sess_3a3b6bf06632e8036e34ccf063eafccd, O_RDWR) failed: No such file or directory (2).
Trace:
#0 [internal function]: Whoops\\Run->handleError(2, 'session_start()...', '\/hermes\/bosoraw...', 147, Array)\n#1 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/vendor\/symfony\/http-foundation\/Symfony\/Component\/HttpFoundation\/Session\/Storage\/NativeSessionStorage.php(147): session_start()\n#2 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/vendor\/symfony\/http-foundation\/Symfony\/Component\/HttpFoundation\/Session\/Storage\/NativeSessionStorage.php(281): Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage->start()\n#3 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/vendor\/symfony\/http-foundation\/Symfony\/Component\/HttpFoundation\/Session\/Session.php(89): Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage->getBag('attributes')\n#4 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Session\/Session.php(48): Symfony\\Component\\HttpFoundation\\Session\\Session->get('CLIENT_REMOTE_A...')\n#5 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Session\/Session.php(42): Concrete\\Core\\Session\\Session::testSessionFixation(Object(Symfony\\Component\\HttpFoundation\\Session\\Session))\n#6 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Session\/SessionServiceProvider.php(15): Concrete\\Core\\Session\\Session::start()\n#7 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/vendor\/illuminate\/container\/Illuminate\/Container\/Container.php(498): Concrete\\Core\\Session\\{closure}(Object(Concrete\\Core\\Application\\Application), Array)\n#8 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/vendor\/illuminate\/container\/Illuminate\/Container\/Container.php(425): Illuminate\\Container\\Container->build(Object(Closure), Array)\n#9 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/vendor\/illuminate\/container\/Illuminate\/Container\/Container.php(809): Illuminate\\Container\\Container->make('session')\n#10 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Support\/Facade\/Facade.php(52): Illuminate\\Container\\Container->offsetGet('session')\n#11 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Support\/Facade\/Facade.php(102): Concrete\\Core\\Support\\Facade\\Facade::resolveFacadeInstance('session')\n#12 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/User\/User.php(203): Concrete\\Core\\Support\\Facade\\Facade::__callStatic('has', Array)\n#13 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/User\/User.php(203): Concrete\\Core\\Support\\Facade\\Session::has('uID')\n#14 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/User\/User.php(47): Concrete\\Core\\User\\User->__construct()\n#15 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Package\/StartingPointPackage.php(248): Concrete\\Core\\User\\User::getByUserID(1, true, false)\n#16 [internal function]: Concrete\\Core\\Package\\StartingPointPackage->add_users()\n#17 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/controllers\/install.php(282): call_user_func(Array)\n#18 [internal function]: Concrete\\Controller\\Install->run_routine('elemental_full', 'add_users')\n#19 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Controller\/AbstractController.php(156): call_user_func_array(Array, Array)\n#20 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Routing\/ControllerRouteCallback.php(25): Concrete\\Core\\Controller\\AbstractController->runAction('run_routine', Array)\n#21 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Routing\/Router.php(59): Concrete\\Core\\Routing\\ControllerRouteCallback->execute(Object(Concrete\\Core\\Http\\Request), Object(Concrete\\Core\\Routing\\Route), Array)\n#22 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Support\/Facade\/Facade.php(116): Concrete\\Core\\Routing\\Router->execute(Object(Concrete\\Core\\Routing\\Route), Array)\n#23 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Application\/Application.php(340): Concrete\\Core\\Support\\Facade\\Facade::__callStatic('execute', Array)\n#24 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/src\/Application\/Application.php(340): Concrete\\Core\\Support\\Facade\\Route::execute(Object(Concrete\\Core\\Routing\\Route), Array)\n#25 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/bootstrap\/start.php(196): Concrete\\Core\\Application\\Application->dispatch(Object(Concrete\\Core\\Http\\Request))\n#26 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/concrete\/dispatcher.php(36): require('\/hermes\/bosoraw...')\n#27 \/hermes\/bosoraweb178\/b2524\/ipg.arsgco\/index.php(2): require('\/hermes\/bosoraw...')\n#28 {main}"}{"error":{"message":"Unknown: open(\/var\/php_sessions\/sess_3a3b6bf06632e8036e34ccf063eafccd, O_RDWR) failed: No such file or directory (2)"},"errors":["Unknown: open(\/var\/php_sessions\/sess_3a3b6bf06632e8036e34ccf063eafccd, O_RDWR) failed: No such file or directory (2)"]}

webjogi
 
Mnkras replied on at Permalink Reply
Mnkras
Its trying to write sessions to: /var/php_sessions/ but cannot because you don't have write permissions to that folder, you need to choose a different location for the session storage that you can write to.