laravel错误文件在哪里?或Laravel中是否有默认错误日志? [英] Where is the laravel error file located? or Is there a default error log in Laravel?

查看:117
本文介绍了laravel错误文件在哪里?或Laravel中是否有默认错误日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用laravel-从事中等项目已经很长时间了,当然我使用框架-laravel-的调试器,但是现在我不时看到错误页面,但是有只是"whoops出了问题而没有错误",没有任何错误说明,我在ajax请求中看到了很多,但是我只是实现了页面而已!

I'm working on a medium project -with laravel- for quite a long time now and of course I use the debugger of the framework -laravel-, but now from time to time I see the page of error but there is just "whoops something went wrong without" without any specifications for the error, and I see it a lot in ajax requests, but I just actualize the page and its gone!;

最后,错误再次出现,我可以在终端中看到此错误,并且命令尾部在此处

这就是我得到的

[2016-12-28 14:54:04] production.ERROR: exception 'RuntimeException' with message 'No supported encrypter found. The cipher and / or key length are invalid.' in D:\shop\tess\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:45
Stack trace:
#0 D:\shop\tess\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php(25): Illuminate\Encryption\EncryptionServiceProvider->getEncrypterForKeyAndCipher(NULL, 'AES-256-CBC')
#1 D:\shop\tess\vendor\laravel\framework\src\Illuminate\Container\Container.php(731): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(Object(Illuminate\Foundation\Application), Array)

我在github上发现了这个问题,它对 https://github.com/orchestral/testbench/issues/93

I've found this on github it helped https://github.com/orchestral/testbench/issues/93

推荐答案

您可以使用以下命令检查错误 tail -f storage/logs/laravel.log 可能是不同的错误

You can check the errors with the following command tail -f storage/logs/laravel.log Could be different errors

这篇关于laravel错误文件在哪里?或Laravel中是否有默认错误日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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