返回顶部
首页 > 资讯 > 后端开发 > PHP编程 >TP框架中/ThinkPHP/Library/Think/Storage/Driver/File.class.php 错误
  • 222
分享到

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

php服务器开发语言 2023-09-14 10:09:56 222人浏览 独家记忆
摘要

​:(_STORAGE_WRITE_ERROR_:./Application/Runtime/Cache/Home/2a94b8bda04ff446dcedd42276fc99ee.php错误位置FILE: /www/wwwroot/531

​:(_STORAGE_WRITE_ERROR_:./Application/Runtime/Cache/Home/2a94b8bda04ff446dcedd42276fc99ee.php错误位置FILE: /www/wwwroot/53111app.com/ThinkPHP/Library/Think/Storage/Driver/File.class.php  LINE: 48TRACE#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
 




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

 

来源地址:https://blog.csdn.net/weixin_39896474/article/details/126966666

--结束END--

本文标题: TP框架中/ThinkPHP/Library/Think/Storage/Driver/File.class.php 错误

本文链接: https://lsjlt.com/news/407045.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作