代码之家  ›  专栏  ›  技术社区  ›  ankit suthar

内核接口未处理laravel中的请求

  •  0
  • ankit suthar  · 技术社区  · 2 年前

    我在LIVE服务器上有一个正在运行的项目,我刚刚下载了它,并尝试在localhost中运行, 但它会出错

    This page isn’t working
    localhost is currently unable to handle this request.
    HTTP ERROR 500
    

    我从开始一步一步地调试 index.php 通过添加 exit()
    我能够到 public/index.php 在里面 错误 粉碎

    $response = $kernel->handle(
        $request = Request::capture()
    )->send();
    

    我已经检查了 $request 它给出了回应,但 $kernel->handle 并没有像我想的那样处理请求。

    请指导我下一步该怎么做?

    0 回复  |  直到 2 年前
        1
  •  0
  •   gul    2 年前

    你能查一下吗 storage/logs/laravel.log 文件此文件可能会让您更好地了解实际问题。

    还有一件事你可以试着运行 composer dumpautoload 命令