Home  >  Article  >  Backend Development  >  codeigniter 加载session类超时

codeigniter 加载session类超时

WBOY
WBOYOriginal
2016-06-06 20:29:191445browse

session是配置autoload自动加载的,以前都好好的,今天就突然有这个错误

<code>Fatal error: Maximum execution time of 30 seconds exceeded in /data/web/admin/system/libraries/Session/drivers/Session_files_driver.php on line 247
</code>

我看了看247行源码,大概就这样一个函数fwrite($this->_file_handle, substr($session_data, $written))
网上有的说是session存储目录没有权限,我检查了一下权限是777呀,求大神,在线等,急!

回复内容:

session是配置autoload自动加载的,以前都好好的,今天就突然有这个错误

<code>Fatal error: Maximum execution time of 30 seconds exceeded in /data/web/admin/system/libraries/Session/drivers/Session_files_driver.php on line 247
</code>

我看了看247行源码,大概就这样一个函数fwrite($this->_file_handle, substr($session_data, $written))
网上有的说是session存储目录没有权限,我检查了一下权限是777呀,求大神,在线等,急!

看看磁盘满了吗?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn