Filesystem.php 中的 ErrorException [英] ErrorException in Filesystem.php

查看:16
本文介绍了Filesystem.php 中的 ErrorException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

会话存储问题

会话存储不适用于我的 Laravel 5.使用它一个月没有问题.但是自从最近上传到网络服务器后,我在每个页面上都会收到以下响应.

Session storage not working with my Laravel 5. Used it for a month without problems. But since latest upload to web server I get the following response on every page.

ErrorException in Filesystem.php line 74:
file_put_contents(): Exclusive locks are not supported for this stream

互联网上的许多帖子都表示要删除对

Many posts on the internet are indicating to remove the reference to

$lock on line 74 in Filesystem.php

似乎是一个快速修复,但会导致其他问题......

Seems like a quick fix which will lead to other issues down the road...

我该如何处理根本原因?

参考资料

https://stackoverflow.com/questions/29023948/laravel-5-file-put-contents-exclusive-locks-are-not-supported-for-this-strehttps://laracasts.com/discuss/channels/general-discussion/l5-new-install-error

推荐答案

after update do

after update do

chmod -R gu+w storage

chmod -R guo+w storage

php artisan cache:clear

这篇关于Filesystem.php 中的 ErrorException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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