session_start() failed - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: session_start() failed (/showthread.php?tid=68349) |
session_start() failed - Mobigo - 06-27-2017 (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 ;-) RE: session_start() failed - syedadeel2 - 02-10-2018 (06-27-2017, 04:08 AM)Mobigo Wrote: (Suddenly!!) there is this message into my server log: 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 |