Welcome Guest, Not a member yet? Register   Sign In
session_start() failed
#2

(06-27-2017, 04:08 AM)Mobigo Wrote: (Suddenly!!) there is this message into my server log:

PHP message: PHP Fatal error: session_start(): Failed to initialize storage module: user (path: /sites/website.com/tmp/) in /www/dir/system/libraries/Session/Session.php on line 143

I have several sites on CI, but on one of my sites I have the above named message.  The site is working fine local and on an other host, so I do not know where to search.  

These are Session vars:
$config['sess_driver'] = 'database';

$config['sess_cookie_name'] = 'ci_session';

$config['sess_expiration'] = 43200;

$config['sess_save_path'] = 'ci_sessions';

$config['sess_match_ip'] = FALSE;

$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;

Has anybody an idea how to solve this? Thanks in advance ;-)

I had a same problem and found my MySQL details was not correct. if you have entered the details correctly in .env file and try to do the same under application/config/database.php
Reply


Messages In This Thread
session_start() failed - by Mobigo - 06-27-2017, 04:08 AM
RE: session_start() failed - by syedadeel2 - 02-10-2018, 05:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB