duanla4959 2017-03-20 08:33
浏览 139

Web浏览器中的Laravel 5.4错误未显示404错误显示

I've really fed up with this problem, for the past 4 hours i worked on it ,but didn't get proper solution.

Server

php-fpm-nginx (Laravel 5.4).

Problem:Error messages are not shown in web browser

Solutions i've tried

1.Enabled error reporting in php.ini (its works fine testted with a sample php file).

2.777 permissions for storage and bootstrap folder.

  1. set APP_DEBUG=true in .env

I can able to see error messages in storage/logs folder but it didn't displayed in browser

  • 写回答

1条回答 默认 最新

  • dswsl2016 2017-03-22 17:07
    关注

    In your nginx config, Are you sure that root is point to you public folder? Something like this:

    server {
        listen       80;
        ....
        root       /path/laravel/public;
        ......
    }
    
    评论

报告相同问题?

悬赏问题

  • ¥15 数据库数据成问号了,前台查询正常,数据库查询是?号
  • ¥15 算法使用了tf-idf,用手肘图确定k值确定不了,第四轮廓系数又太小才有0.006088746097507285,如何解决?(相关搜索:数据处理)
  • ¥15 彩灯控制电路,会的加我QQ1482956179
  • ¥200 相机拍直接转存到电脑上 立拍立穿无线局域网传
  • ¥15 (关键词-电路设计)
  • ¥15 如何解决MIPS计算是否溢出
  • ¥15 vue中我代理了iframe,iframe却走的是路由,没有显示该显示的网站,这个该如何处理
  • ¥15 操作系统相关算法中while();的含义
  • ¥15 CNVcaller安装后无法找到文件
  • ¥15 visual studio2022中文乱码无法解决