程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 網頁編程 >> PHP編程 >> 關於PHP編程 >> ThinkPHP3.2.2報錯:_STORAGE_WRITE_ERROR_,

ThinkPHP3.2.2報錯:_STORAGE_WRITE_ERROR_,

編輯:關於PHP編程

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 {} \;

發現是日志太大,刪除後即可

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved