繁体   English   中英

现有laravel项目上的file_put_contents错误

[英]file_put_contents error on existing laravel project

我正在尝试配置一个新的laravel项目,但是无论如何我总是会收到以下错误:

file_put_contents(C:\Users\bla...\Documents\GitHub\project\storage\framework/sessions/yB2Ji8maEDu0fXZLpZ5VBnDzIhLdaeA7aYdVMjOf): failed to open stream: No such file or directory

我试图重新安装homestead / laravel / vagrant,我也一次又一次地运行了以下和更多的artisan命令:

php artisan config:cache
php artisan cache:clear
php artisan optimize

我还在无业游民的盒子内的文件/文件夹上运行过chmod特权,但仍然无法解决这个错误,有什么想法吗? 该项目本身在我的vm中创建得很好。

删除yourProject / storage / framework / sessions中的所有文件,然后运行php artisan view:clearphp artisan config:clear

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM