更新了CI3.0,session用files方式,总是报超时错误
更新了CI3.0,session用files方式,总是报超时错误错误在Session_files_driver.php文件的168行:Q 可能与系统文件夹的权限有关 看看config.php中$config['sess_save_path'] = ? 这个设置的路径有没有写权限如果还不行 最好把你的报错信息贴出来 大家看看 换成redis也有这个问题,可能是锁session文件或者redis里的数据,锁了很长时间导致其他用到的地方一直等待,最后超时,求帮助 <b>Fatal error</b>:Maximum execution time of 30 seconds exceeded in <b>D:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\icqnew\system\libraries\Session\drivers\Session_redis_driver.php</b> on line <b>327</b><br />
<br />
<b>Fatal error</b>:Maximum execution time of 30 seconds exceeded in <b>D:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\icqnew\system\core\Common.php</b> on line <b>684</b><br />
<br />
<b>Fatal error</b>:Maximum execution time of 30 seconds exceeded in <b>D:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\icqnew\system\libraries\Session\drivers\Session_redis_driver.php</b> on line <b>237</b><br /> 你应该把你用session的那段代码贴出来。根据分析,你应该没及时释放session的锁。 alichino1 发表于 2015-5-27 10:36
Fatal error:Maximum execution time of 30 seconds exceeded in D:\Program Files (x86)\Apache Softwar ...
这不是进redis了么。。。
你不是说用的file么
页:
[1]