1. <i id='cSB53'><tr id='cSB53'><dt id='cSB53'><q id='cSB53'><span id='cSB53'><b id='cSB53'><form id='cSB53'><ins id='cSB53'></ins><ul id='cSB53'></ul><sub id='cSB53'></sub></form><legend id='cSB53'></legend><bdo id='cSB53'><pre id='cSB53'><center id='cSB53'></center></pre></bdo></b><th id='cSB53'></th></span></q></dt></tr></i><div id='cSB53'><tfoot id='cSB53'></tfoot><dl id='cSB53'><fieldset id='cSB53'></fieldset></dl></div>

      <tfoot id='cSB53'></tfoot>

      <small id='cSB53'></small><noframes id='cSB53'>

      • <bdo id='cSB53'></bdo><ul id='cSB53'></ul>
    2. <legend id='cSB53'><style id='cSB53'><dir id='cSB53'><q id='cSB53'></q></dir></style></legend>

      “laravel.log"无法打开:无法打开流

      quot;laravel.logquot; could not be opened: failed to open stream(“laravel.log无法打开:无法打开流)

        • <tfoot id='sESbp'></tfoot>
          <i id='sESbp'><tr id='sESbp'><dt id='sESbp'><q id='sESbp'><span id='sESbp'><b id='sESbp'><form id='sESbp'><ins id='sESbp'></ins><ul id='sESbp'></ul><sub id='sESbp'></sub></form><legend id='sESbp'></legend><bdo id='sESbp'><pre id='sESbp'><center id='sESbp'></center></pre></bdo></b><th id='sESbp'></th></span></q></dt></tr></i><div id='sESbp'><tfoot id='sESbp'></tfoot><dl id='sESbp'><fieldset id='sESbp'></fieldset></dl></div>

            <small id='sESbp'></small><noframes id='sESbp'>

              <tbody id='sESbp'></tbody>
              <legend id='sESbp'><style id='sESbp'><dir id='sESbp'><q id='sESbp'></q></dir></style></legend>
                <bdo id='sESbp'></bdo><ul id='sESbp'></ul>
              • 本文介绍了“laravel.log"无法打开:无法打开流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我已经在本地 OSX 机器上设置了 Laravel homestead,一切似乎都很顺利,直到我尝试打开 example.app:8000 并收到此错误:

                I have setup Laravel homestead on a local OSX machine, everything seemed to be going smoothly until I tried to open example.app:8000 and got this error:

                Error in exception handler: The stream or file "/home/vagrant/Code/example/app/storage/logs/laravel.log" could not be opened: failed to open stream: Protocol error in /home/vagrant/Code/example/bootstrap/compiled.php:8671
                

                我关注了 Laravel 文档以及 Laracast 关于建立宅基地的信息,所以我不确定是什么原因造成的.我可以看到 /home/vagrant/Code/example/app/storage/logs/laravel.log 不存在,但我认为这是应该自动创建的东西?

                I followed the Laravel docs as well as a Laracast about setting up homestead, so I am not sure what would be causing this. I can see that /home/vagrant/Code/example/app/storage/logs/laravel.log doesn't exist, but I assume that is something that should be created automatically?

                推荐答案

                您需要运行以下之一:

                • sudo chmod -R 644 应用程序/存储
                • sudo chmod -R 755 应用程序/存储

                这篇关于“laravel.log"无法打开:无法打开流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Laravel 4 - Connect to other database(Laravel 4 - 连接到其他数据库)
                Call external API function from controller, LARAVEL 4(从控制器调用外部 API 函数,LARAVEL 4)
                Empty string instead of null values Eloquent(空字符串而不是空值 Eloquent)
                Displaying the Error Messages in Laravel after being Redirected from controller(从控制器重定向后在 Laravel 中显示错误消息)
                Laravel Creating Dynamic Routes to controllers from Mysql database(Laravel 从 Mysql 数据库创建到控制器的动态路由)
                Using a non-laravel package on Laravel 4(在 Laravel 4 上使用非 laravel 包)

                    <small id='40umZ'></small><noframes id='40umZ'>

                    <legend id='40umZ'><style id='40umZ'><dir id='40umZ'><q id='40umZ'></q></dir></style></legend>
                      <tbody id='40umZ'></tbody>
                      <tfoot id='40umZ'></tfoot>
                      <i id='40umZ'><tr id='40umZ'><dt id='40umZ'><q id='40umZ'><span id='40umZ'><b id='40umZ'><form id='40umZ'><ins id='40umZ'></ins><ul id='40umZ'></ul><sub id='40umZ'></sub></form><legend id='40umZ'></legend><bdo id='40umZ'><pre id='40umZ'><center id='40umZ'></center></pre></bdo></b><th id='40umZ'></th></span></q></dt></tr></i><div id='40umZ'><tfoot id='40umZ'></tfoot><dl id='40umZ'><fieldset id='40umZ'></fieldset></dl></div>

                      • <bdo id='40umZ'></bdo><ul id='40umZ'></ul>