【问题标题】:file_put_contents in framework/views failed to open stream: No such file or directory [duplicate]框架/视图中的file_put_contents无法打开流:没有这样的文件或目录[重复]
【发布时间】:2019-09-12 14:02:33
【问题描述】:

file_put_contents(/home/gbtire/domains/site/public_html/gb-tire/storage/framework/Views/74f95f98511096a7aa6ab74d75b8f13a61b7b1d3.php):无法打开流:没有这样的文件或目录

在 vps centos 我运行任何命令

php artisan cache:clear 
php artisan cashe:clear

并设置任何权限无效

【问题讨论】:

  • 我试试看不行
  • 将权限递归更改为更开放的内容,例如 chmod 777 -R /home/gbtire/domains/site/public_html/gb-tire/storage/framework 或使应用程序的用户成为文件夹的所有者

标签: php laravel centos vps


【解决方案1】:

尝试:php artisan view:clear 清除您的视图缓存。

【讨论】:

  • 我试试看不行
猜你喜欢
  • 2015-11-14
  • 2014-09-05
  • 1970-01-01
  • 2017-07-06
  • 2013-01-24
  • 2018-12-01
  • 2011-12-09
  • 2018-04-08
  • 2018-09-20
相关资源
最近更新 更多