ThinkPHP3.2.2报错:_STORAGE_WRITE_ERROR_,_PHP教程
程序员文章站
2022-06-04 17:22:10
...
ThinkPHP3.2.2报错:_STORAGE_WRITE_ERROR_,
:( _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: 47 TRACE #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 {} \;
发现是日志太大,删除后即可
下一篇: 使用宝塔面板建站
推荐阅读
-
PHP 5.3 ereg()报错的问题解决_PHP教程
-
ThinkPHP3.2.2报错:_STORAGE_WRITE_ERROR_,
-
解决ThinkPHP开启APP_DEBUG=>false时报错的问题,thinkphpapp_debug_PHP教程
-
解决ThinkPHP关闭调试模式时报错的问题汇总,thinkphp时报_PHP教程
-
yii2 php namespace 引入第三方非namespace库文件时候,报错:Class not found 的解决_PHP教程
-
ThinkPHP3.2.2的插件控制器功能_PHP教程
-
thinkphp项目部署到Linux服务器上报错“模板不存在”如何解决,thinkphplinux_PHP教程
-
PHP 5.3 ereg()报错的问题解决_PHP教程
-
ThinkPHP3.2.2的插件控制器功能,thinkphp3.2.2插件_PHP教程
-
如何调整CodeIgniter的报错级别_PHP教程