![]() |
Session_file_driver Error - 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_file_driver Error (/showthread.php?tid=74987) |
Session_file_driver Error - codedecks - 12-04-2019 Hello, My company is ditching coldFusion for PHP, I just converted my to CI 3.1.9. I'm session files for my application with MSSQL. Here is the relevant config. $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'ci_sessions'; $config['sess_expiration'] = 7200; $config['sess_save_path'] = FCPATH.'app_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = FALSE; I getting the following error spectacularly: PHP Fatal error: Maximum execution time of 300 seconds exceeded in E:\CIapp\system\libraries\Session\drivers\Session_files_driver.php on line 212 Line 212 on Session_files_driver.php: if (($buffer = fread($this->_file_handle, $length - $read)) === FALSE) { break; } Any suggestion is greatly appreciated. Sorry if this is apparent, I'm relatively new to php. Thanks in advance for your help! -Brad RE: Session_file_driver Error - engel - 12-04-2019 I don't think that this has something to do with Session_files_driver.php. Check your code for infinite loops. There's got to be somewhere in your code. |