:(_storage_write_error_:./application/runtime/cache/home/50c9f5d2ef37c2cf131d5cf1381d3a4b.php错误位置file: /export/app/admin.xxx.com.cn/thinkphp/library/think/storage/driver/file.class.php line: 47trace#0 /export/app/admin.xxx.com.cn/thinkphp/library/think/storage/driver/file.class.php(47): e('_storage_write_...')#1 [internal function]: think\storage\driver\file->put('./application/r...', '
#2 /export/app/admin.xxx.com.cn/thinkphp/library/think/storage.class.php(37): call_user_func_array(array, array)#3 /export/app/admin.xxx.com.cn/thinkphp/library/think/template.class.php(110): think\storage::__callstatic('put', array)#4 /export/app/admin.xxx.com.cn/thinkphp/library/think/template.class.php(110): think\storage::put('./application/r...', '
#5 /export/app/admin.xxx.com.cn/thinkphp/library/think/template.class.php(76): think\template->loadtemplate('./application/h...', '')#6 /export/app/admin.xxx.com.cn/thinkphp/library/behavior/parsetemplatebehavior.class.php(32): think\template->fetch('./application/h...', array, '')#7 /export/app/admin.xxx.com.cn/thinkphp/library/think/hook.class.php(119): behavior\parsetemplatebehavior->run(array)#8 /export/app/admin.xxx.com.cn/thinkphp/library/think/hook.class.php(89): think\hook::exec('behavior\\parset...', 'view_parse', array)#9 /export/app/admin.xxx.com.cn/thinkphp/library/think/view.class.php(124): think\hook::listen('view_parse', array)#10 /export/app/admin.xxx.com.cn/thinkphp/library/think/view.class.php(72): think\view->fetch('', '', '')#11 /export/app/admin.xxx.com.cn/thinkphp/library/think/controller.class.php(56): think\view->display('', '', '', '', '')#12 /export/app/admin.xxx.com.cn/application/home/controller/logincontroller.class.php(40): think\controller->display()#13 [internal function]: home\controller\logincontroller->login()#14 /export/app/admin.xxx.com.cn/thinkphp/library/think/app.class.php(162): reflectionmethod->invoke(object(home\controller\logincontroller))#15 /export/app/admin.xxx.com.cn/thinkphp/library/think/app.class.php(200): think\app::exec()#16 /export/app/admin.xxx.com.cn/thinkphp/library/think/think.class.php(120): think\app::run()#17 /export/app/admin.xxx.com.cn/thinkphp/thinkphp.php(96): think\think::start()#18 /export/app/admin.xxx.com.cn/index.php(25): require('/export/app/adm...')#19 {main}thinkphp3.2.2 { fast & simple oop php framework } -- [ we can do it just think ]
今天服务器报错如上面代码所示,这种情况一般是硬盘满了
登录服务器:
首先查看硬盘占用情况:df -th
看到/export分区慢了
然后查看 这个分区下的大文件(大于20m的文件)
find /export/ -size +20000k -exec ls -lh {} \;
发现是日志太大,删除后即可
以上就介绍了thinkphp322报错:_storage_write_error_,包括了require,application方面的内容,希望对php教程有兴趣的朋友有所帮助。