Laravel 5 显示 ErrorException file_put_contents 无法打开流:没有这样的文件或目录 [英] Laravel 5 show ErrorException file_put_contents failed to open stream: No such file or directory

查看:35
本文介绍了Laravel 5 显示 ErrorException file_put_contents 无法打开流:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于 Laravel 5 的项目,我在办公室和家里都在使用它.它工作正常,但最近在家里它停止工作.Laravel 向我展示了两个 ErrorException

I have a project on Laravel 5 and I work with it at the office and at home too. It works fine, but recently at home it stopped working. Laravel show me two ErrorException

file_put_contents(G:projectstorageframeworkviews/751d8a0fd8a7d4138c09ceb6a34bb377aa2d6265.php):
failed to open stream: No such file or directory

file_put_contents(G:projectstorageframework/sessions/aIXycR4LIAUBVIqZu0T590paOMIpV8vfZGIroEp0):
failed to open stream: No such file or directory

我正在使用 Google 搜索问题决策并查找有关正确权利的信息.所有建议都与 Linux 有关,但我在办公室和家里也使用 Windows.

I'm searching problem decision with Google and find information about correct rights. All advice is about Linux, but I'am work in Windows at the office and at home too.

当我尝试清除应用程序缓存和查看缓存时,工匠与我交谈 - ...已清除.但是缓存数据和视图存在于存储中.

When I try to clear application cache and view cache, artisan talk to me - ...cleared. But cache data and views are present in storage.

我该如何解决这个问题?

How can I fix this problem?

推荐答案

经过一些研究,我明白了 - 我有非常相似但不同的根项目位置,并且它缓存在 /bootstrap/cache 中.缓存清除项目启动后.

After some research I understand - I have very similar, but different root project locations and its cached in /bootstrap/cache. After cache clearing project started.

这篇关于Laravel 5 显示 ErrorException file_put_contents 无法打开流:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆