我正在尝试为我的应用启用调试,但我似乎没有任何反馈.
I'm trying to enable the debug for my app but it looks like I don't have any feedback.
环境设置为本地(在 .env 文件中),如果我运行
The environment is set to local (in the .env file) and if I run
php artisan env
我明白了
Current application environment: local
我的本地环境的调试配置设置为 true
The debug config for my local env is set to true
return [
'debug' => true,
此外,如果我在主配置文件(config 文件夹中的 app.php)中设置了 debug = true,我仍然会收到代码中有错误的反馈.
Also if I set in my main config file (app.php inside the config folder) the debug = true I still have ho feedback that there is an error in the code.
如果代码中有错误,我只有一个空页面(至于 debug = false)
I only have an empty page if there is an error in the code (as for debug = false)
我错过了什么?
我已经在我的主机 (Mac OS X) 上通过 chmod -R 777 storage/ 解决了这个问题.在我的客户机 (Ubuntu 14.04) 上 chmod -R 777 storage/ 实际上没有改变权限.
I have worked around the issue by chmod -R 777 storage/ on my host machine (Mac OS X). On my guest machine (Ubuntu 14.04) chmod -R 777 storage/ did not change permissions actually.
这篇关于Laravel 5 - env local debug true 未显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
Laravel Eloquent Union 查询Laravel Eloquent Union query(Laravel Eloquent Union 查询)
覆盖 Laravel 5 辅助函数Overwrite laravel 5 helper function(覆盖 Laravel 5 辅助函数)
laravel querybuilder 如何在 where 函数中使用 likelaravel querybuilder how to use like in wherein function(laravel querybuilder 如何在 where 函数中使用 like)
响应内容必须是实现 __toString()、“boolean"和“The Response content must be a string or object implementing __toString(), quot;booleanquot; given after move to psql(响应内容必须是实现 __toS
Laravel 5 的角色,如何只允许管理员访问某些根Roles with laravel 5, how to allow only admin access to some root(Laravel 5 的角色,如何只允许管理员访问某些根)
Laravel Auth - 使用 md5 而不是集成的 Hash::make()Laravel Auth - use md5 instead of the integrated Hash::make()(Laravel Auth - 使用 md5 而不是集成的 Hash::make())