【问题标题】:Laravel 5.2 route Not working with error NotFoundHttpException in RouteCollection.php line 161Laravel 5.2 路由无法在 RouteCollection.php 第 161 行出现错误 NotFoundHttpException
【发布时间】:2016-02-14 22:59:10
【问题描述】:

我一直在使用 Laravel 4.2 版。昨天,我安装了 Laravel 5.2,现在我遇到了路由问题:

所有路由都不起作用只有“/”enter image description here

【问题讨论】:

  • 如果我们查看您的路线文件的外观可能会有所帮助

标签: php laravel-5 routing


【解决方案1】:

您需要将 index.php 放在您的路线名称前面。 例子: bk/state 这是你需要更改的路由名称 bk/index.php/state

【讨论】:

    猜你喜欢
    • 2016-07-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-01
    • 2016-07-03
    • 2016-10-13
    • 1970-01-01
    相关资源
    最近更新 更多