Laravel 5 - env local debug true no errors shown

前端 未结 12 1643
天命终不由人
天命终不由人 2020-12-08 19:52

I\'m trying to enable the debug for my app but it looks like I don\'t have any feedback.

The environment is set to local (in the .env file) and if I run



        
12条回答
  •  一整个雨季
    2020-12-08 20:15

    If the above answers didn't work for you, you may want to check the config files that you might have changed and start debugging from there.

    In my case, the above solutions didn't work for me because the root cause of my problem was changing the timezone in config/app.php file (from laravel default UTC I changed it to EST5EDT). For some reason the timezone setting change prevents laravel from logging the errors in storage folder and I am getting blank screen (no whoops! error message). I changed the timezone to America/New_York instead and the error logs are working again.

    Hope this helps.

提交回复
热议问题