Heim > php教程 > php手册 > ThinkPHP3.2.2报错:_STORAGE_WRITE_ERROR_,

ThinkPHP3.2.2报错:_STORAGE_WRITE_ERROR_,

WBOY
Freigeben: 2016-06-13 08:50:02
Original
1935 Leute haben es durchsucht

ThinkPHP3.2.2报错:_STORAGE_WRITE_ERROR_,

:<span>(
_STORAGE_WRITE_ERROR_</span>:./Application/Runtime/Cache/Home/50c9f5d2ef37c2cf131d5cf1381d3a4b.<span>php
错误位置
</span><span>FILE</span>: /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Storage/Driver/<span>File</span>.<span>class</span>.php  LINE: 47<span>
TRACE
</span><span>#</span><span>0 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Storage/Driver/File.class.php(47): E('_STORAGE_WRITE_...')</span><span>
#</span><span>1 [internal function]: Think\Storage\Driver\File->put('./Application/R...', ' <br />#2 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Storage.class.php(37): call_user_func_array(Array, Array)</span><span>
#</span><span>3 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Template.class.php(110): Think\Storage::__callstatic('put', Array)</span><span>
#</span><span>4 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Template.class.php(110): Think\Storage::put('./Application/R...', ' <br />#5 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Template.class.php(76): Think\Template->loadTemplate('./Application/H...', '')</span><span>
#</span><span>6 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Behavior/ParseTemplateBehavior.class.php(32): Think\Template->fetch('./Application/H...', Array, '')</span><span>
#</span><span>7 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Hook.class.php(119): Behavior\ParseTemplateBehavior->run(Array)</span><span>
#</span><span>8 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Hook.class.php(89): Think\Hook::exec('Behavior\\ParseT...', 'view_parse', Array)</span><span>
#</span><span>9 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/View.class.php(124): Think\Hook::listen('view_parse', Array)</span><span>
#</span><span>10 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/View.class.php(72): Think\View->fetch('', '', '')</span><span>
#</span><span>11 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Controller.class.php(56): Think\View->display('', '', '', '', '')</span><span>
#</span><span>12 /export/app/admin.xxx.com.cn/Application/Home/Controller/LoginController.class.php(40): Think\Controller->display()</span><span>
#</span><span>13 [internal function]: Home\Controller\LoginController->login()</span><span>
#</span><span>14 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/App.class.php(162): ReflectionMethod->invoke(Object(Home\Controller\LoginController))</span><span>
#</span><span>15 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/App.class.php(200): Think\App::exec()</span><span>
#</span><span>16 /export/app/admin.xxx.com.cn/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()</span><span>
#</span><span>17 /export/app/admin.xxx.com.cn/ThinkPHP/ThinkPHP.php(96): Think\Think::start()</span><span>
#</span><span>18 /export/app/admin.xxx.com.cn/index.php(25): require('/export/app/adm...')</span><span>
#</span><span>19 {main}</span>
ThinkPHP3.2.2 { Fast & Simple OOP PHP Framework } -- [ WE CAN <span>DO</span> IT JUST THINK ]<br /><br />
Nach dem Login kopieren

今天服务器报错如上面代码所示,这种情况一般是硬盘满了

登录服务器:

首先查看硬盘占用情况:df -Th

看到/export分区慢了

然后查看 这个分区下的大文件(大于20M的文件)

find /export/ -size +20000k -exec ls -lh {} \;

发现是日志太大,删除后即可

Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Empfehlungen
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage