URL"http://localhost/magento/"不可访问.无法读取响应,或者响应为空Magento安装错误 [英] The URL "http://localhost/magento/" is not accessible. Unable to read response, or response is empty Magento Installtion Error

查看:105
本文介绍了URL"http://localhost/magento/"不可访问.无法读取响应,或者响应为空Magento安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法访问URL" http://localhost/magento/". 无法读取回应,或回应为空 在本地主机中安装新的magento时.

The URL "http://localhost/magento/" is not accessible. Unable to read response, or response is empty When install new magento in localhost.

推荐答案

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

As Ankit Parmar said, you can check

Skip Base URL Validation Before

...但是稍后您可能会遇到问题.出现此消息的原因可能是您的域不公开或无法访问.如果您跳过基本网址验证,则可以完成安装,但是可能会遇到一个奇怪的问题,即能够登录但无法访问管理部分(即使重定向到登录页面,也不会显示任何错误消息,即使您看到您通过查看URL登录).

...but you might encounter problems later on. This message appears probably because your domain is not public or not reachable. If you skip Base Url Validation, you will be able to finish the installation but you might get the strange problem of being able to log in but not to access the admin section (get redirected to the login page without any error message even if you see you're logged in by looking at the URL).

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

Rather than installing Magento under localhost, you should add a fake domain name in your host file and set up a vhost accordingly. you may then re-install Magento by accessing the fake domain name in your browser. You may setup the domain name in the core_config_data table if not done.

此处的更多信息: 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆