【问题标题】:The URL "http://localhost/magento/" is not accessible. Unable to read response, or response is empty Magento Installtion Error无法访问 URL“http://localhost/magento/”。无法读取响应,或响应为空 Magento 安装错误
【发布时间】:2015-02-20 07:27:54
【问题描述】:

无法访问 URL“http://localhost/magento/”。 无法读取响应,或响应为空 在 localhost 中安装新的 magento 时。

【问题讨论】:

  • 在下一步之前跳过基本 URL 验证选中上面的复选框以解决它。
  • 谢谢,我也不认识这个选项 +1
  • @AnkitParmar:请将答案作为实际答案发布。

标签: magento installation


【解决方案1】:

正如Ankit Parmar所说,您可以检查

Skip Base URL Validation Before

...但是您以后可能会遇到问题。出现此消息可能是因为您的域不公开或无法访问。如果您跳过 Base Url Validation,您将能够完成安装,但您可能会遇到奇怪的问题,即能够登录但无法访问管理部分(即使您看到重定向到登录页面也不会出现任何错误消息您已通过查看 URL 登录)。

您应该在主机文件中添加一个假域名并相应地设置一个虚拟主机,而不是在 localhost 下安装 Magento。然后,您可以通过在浏览器中访问假域名来重新安装 Magento。如果没有完成,您可以在 core_config_data 表中设置域名。

更多信息在这里:https://magento.stackexchange.com/questions/39752/how-do-i-fix-my-base-urls-so-i-can-access-my-magento-site

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-09-23
    • 1970-01-01
    • 2014-09-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-20
    相关资源
    最近更新 更多