【问题标题】:Why is Magento admin page in redirect loop?为什么 Magento 管理页面在重定向循环中?
【发布时间】:2016-03-06 07:50:45
【问题描述】:

我已经在 XAMPP localhost 上安装了 Magento。安装成功,主页运行正常。但是当我尝试访问管理页面时,我在 Chrome 中收到以下错误:

这个网页有一个重定向循环

ERR_TOO_MANY_REDIRECTS,
The webpage at http://localhost:8080/Shoeshop/admin/admin/index/index/key/af5bf0c229a918e3ecb4352ef4eee8014f1a580611c285326f659992f6bb7107/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.`

当我检查控制台是否有错误时:

【问题讨论】:

    标签: php magento


    【解决方案1】:

    我得到了解决方案.. 尝试使用不同的浏览器,mozilla 为我工作。

    【讨论】:

    • 我在他的管理页面上遇到了同样的问题。
    【解决方案2】:

    你可以做的几件事:

    检查您的 .htaccess 是否有任何循环 - find a sample here 如果您不知道出了什么问题。

    使用 PHP My Admin 或等效工具截断表(清空,而不是删除!)core_url_rewrite

    最后,如果其他技术都不起作用。通过 XAMP 检查您的站点配置,必须指定目录选项,例如 Options Indexes FollowSymLinks MultiViewsSee here 获取有关 magento 站点设置的教程。注意:这假设您安装了 apache2 并且 Linux 版本是(或类似)Ubuntu 14.04。

    希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-17
      • 1970-01-01
      • 1970-01-01
      • 2013-05-23
      相关资源
      最近更新 更多