【发布时间】:2015-11-14 13:27:10
【问题描述】:
我只是想在本地运行我客户的项目并遇到这个问题。
compiled.php 第 6301 行出现错误异常:file_put_contents(C:\xampp\htdocs\tiger\storage/framework/views/111182673e168569a2371e23629d9c08):无法打开流:没有这样的文件或目录
这有点像权限问题..我是 Windows 用户不知道如何计算...专家你能帮帮我吗?提前致谢。
【问题讨论】:
-
你尝试清除 laravel 缓存和 composer dump-autoload。
-
它在 Windows 上几乎从来都不是权限问题,除非你有一个非常奇怪的设置
-
清理现金和file_put_contents(str_replace("\","/",$filename))
-
是的,我做了 php artisan cache:clear and dump-autoload
-
我应该在哪里做 file_put_contents(str_replace("\","/",$filename)) ?? volkinc