duanchoupo1104 2014-11-28 15:56
浏览 577
已采纳

Laravel 5 - env本地调试true没有显示错误

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

php artisan env

I get this

Current application environment: local

The debug config for my local env is set to true

return [

    '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.

I only have an empty page if there is an error in the code (as for debug = false)

What am I missing?

  • 写回答

12条回答 默认 最新

  • drbouzlxb92333332 2015-01-21 09:37
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(11条)

报告相同问题?

悬赏问题

  • ¥15 2024-五一综合模拟赛
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭