gpt4 book ai didi

php - 为什么我有这个laravel错误?

转载 作者:行者123 更新时间:2023-12-02 10:42:57 24 4
gpt4 key购买 nike

一切正常,但随后我删除了浏览器的历史记录(ChromeVersión55.0.2883.87 m),突然我的Laravel(5.3版本)项目停止了工作。
当我转到项目索引时,它工作正常,但是当我单击任何链接时,出现以下错误:

Sorry, the page you are looking for could not be found.

1/1
NotFoundHttpException in RouteCollection.php line 161:
in RouteCollection.php line 161
at RouteCollection->match(object(Request)) in Router.php line 766
at Router->findRoute(object(Request)) in Router.php line 621
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 54

最佳答案

当您访问未在 route 注册的页面或链接时,会发现这些错误。

请检查您的路线。
您可以在\resources\views\errors中编辑此页面。默认情况下,没有文件404.blade.php,您可以创建一个文件并编辑该页面

关于php - 为什么我有这个laravel错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41352847/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com