php - localhost/magento 访问错误(找不到对象)
问题描述
当我尝试访问localhost/magento
通过 CMD 安装 Magento 2 后,发生找不到对象错误。安装命令:
php bin/magento setup:install --base-url=”http://localhost/magento" --db-host=”localhost” --db-name=”magento" --db-user=”root” --db-password=”” --admin-firstname=”admin” --admin-lastname=”admin” --admin-email=”user@example.com” --admin-user=”admin” --admin-password=”admin123" --use-rewrites=”1" --backend-frontname=”admin”
在浏览器上访问localhost/magento
时出现此错误:
在此处输入图像描述
解决方案
推荐阅读
- django - 为什么我不能在 Ubuntu 服务器上运行的 Django 中上传和保存图像?
- sonarqube-web - 如何通过 web api 获取 Sonarqube Metrics(即漏洞:A;B;C;D;E)评级
- spring-boot - 在docker上部署spring boot应用程序时出现此错误
- php - php如何按天对表中的数据进行分组
- javascript - 比较两个字段的值得到另一个字段的大值
- java - Jersey 1x 不在请求中发送 Content-Length 标头
- python - 有没有办法使用 Python 和 Selenium 从在线 PDF 中刮取信息而无需下载?
- python - 如何使用 Transcrypt 读取 URL 的内容?urlopen() 位于哪里?
- http - http到https端口转发是漏洞吗?
- python - 给定 Python 中的属性列表,如何安全地添加 postgreSQL 记录