首页 文章

Symfony - 找不到HTTP 404,没有“GET /”的路由

提问于
浏览
-2

我不知道该怎么办,我找不到解决办法 . 我在我的服务器上安装了一个pimcore 5演示,并得到了这两个错误:Symfony - 找不到HTTP 404,找不到“GET /”的路由 .

有人有想法或解决方案吗?

现在我在网址中键入/ admin / login并得到500内部服务器错误:

enter image description here

Picture of this two errors

Error Picture

Error Picture of the Log

Error Picture

日志:

错误10:32:37请求未捕获的PHP异常Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException:“在/ html / pimcore5 / vendor / symfony / symfony / src / Symfony / Component / HttpKernel中找不到”GET /“的路由/EventListener/RouterListener.php第125行

1 回答

  • 0

    看起来你错过了数据库,做了doctrine:schema:update --force,看看它做了什么,或者如果有任何使用该学说的话,还是运行迁移:迁移:迁移

    另外re:路由,也许你没有正确包含路由或者你需要添加:[domainname] /app_dev.php/?

相关问题