Laravel错误文件在哪里?还是Laravel中有默认错误日志



我正在从事一个中等项目 - 与laravel-现在很长一段时间,当然我使用框架的调试器-laravel-,但现在不时我请参阅错误页面,但只有" whop to to to to to to daged nowate nowate nowing"而没有任何错误规格,我在Ajax请求中看到了很多,但我只是实现了该页面,它消失了!

最后,错误再次显示出错误,我可以在终端中看到它的命令尾巴

这就是我得到的

[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:shoptessvendorlaravelframeworksrcIlluminateEncryptionEncryptionServiceProvider.php:45
Stack trace:
#0 D:shoptessvendorlaravelframeworksrcIlluminateEncryptionEncryptionServiceProvider.php(25): IlluminateEncryptionEncryptionServiceProvider->getEncrypterForKeyAndCipher(NULL, 'AES-256-CBC')
#1 D:shoptessvendorlaravelframeworksrcIlluminateContainerContainer.php(731): IlluminateEncryptionEncryptionServiceProvider->IlluminateEncryption{closure}(Object(IlluminateFoundationApplication), Array)

我在github上找到了这一点,它帮助https://github.com/orchestral/testbench/issues/93

确保在.env文件中将APP_DEBUG设置为true

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

最新更新