TP框架中/ThinkPHP/Library/Think/Storage/Driver/File.class.php 错误

​
:(

_STORAGE_WRITE_ERROR_:./Application/Runtime/Cache/Home/2a94b8bda04ff446dcedd42276fc99ee.php
错误位置
FILE: /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Storage/Driver/File.class.php  LINE: 48

TRACE
#0 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Storage/Driver/File.class.php(48): E('_STORAGE_WRITE_...')
#1 [internal function]: Think\Storage\Driver\File->put('./Application/R...', ' #2 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Storage.class.php(37): call_user_func_array(Array, Array)
#3 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Template.class.php(114): Think\Storage::__callstatic('put', Array)
#4 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Template.class.php(114): Think\Storage::put('./Application/R...', ' #5 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Template.class.php(76): Think\Template->loadTemplate('./Application/H...', '')
#6 /www/wwwroot/53111app.com/ThinkPHP/Library/Behavior/ParseTemplateBehavior.class.php(32): Think\Template->fetch('./Application/H...', Array, '')
#7 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Hook.class.php(119): Behavior\ParseTemplateBehavior->run(Array)
#8 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Hook.class.php(89): Think\Hook::exec('Behavior\\ParseT...', 'view_parse', Array)
#9 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/View.class.php(126): Think\Hook::listen('view_parse', Array)
#10 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/View.class.php(72): Think\View->fetch('', '', '')
#11 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Controller.class.php(56): Think\View->display('', '', '', '', '')
#12 /www/wwwroot/53111app.com/Application/Home/Controller/IndexController.class.php(21): Think\Controller->display()
#13 [internal function]: Home\Controller\IndexController->index()
#14 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#15 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Home\Controller\IndexController), 'index')
#16 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#17 /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#18 /www/wwwroot/53111app.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#19 /www/wwwroot/53111app.com/index.php(27): require('/www/wwwroot/53...')
#20 {main}

ThinkPHP3.2.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]

​



第一是网上说的
 

出现这个问题的原因是项目中的Runtime权限不够,需要给Runtime和其目录下的所有文件授权,读者只需要执行下列命令即可:

chmod -R 777 Runtime
 




第二种  存储文件的磁盘满了

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值