http-status-code-403 - Pimcore:全新安装,后端未加载
问题描述
我今天想第一次尝试 Pimcore。经过大量设置后,我设法使用 composer 安装了demo-basic-twig 模板。
现在我尝试通过 /admin 访问后端。我注意到的第一件事是似乎没有加载 CSS 文件:
现在我认为这可能只是一个错误或其他东西,但是当我尝试使用我创建的用户登录后端时,它只会显示一个带有加载程序的空白页面,而没有任何事情发生:
我的控制台只返回一堆 403 错误:
Failed to load resource: the server responded with a status of 403 (Forbidden) | jquery-3.3.1.min.js:1
Failed to load resource: the server responded with a status of 403 (Forbidden) | icons.css:1
Failed to load resource: the server responded with a status of 403 (Forbidden) | leaflet.css:1
我想我在安装中做错了什么?
解决方案
似乎没有安装资产。试试:bin/console assets:install。
推荐阅读
- windows - 在 Windows 命令行输出前附加文本
- c# - 如何在 c# 中使用递归来构建模型并将值分配给属性?
- java - 甚至不需要时需要通用参数?
- swift - UICollectionView 没有从数组中填充数据
- keras - 我们可以在不使用 keras 的情况下在 tensorflow2.0 中训练模型吗?
- php - CodeIgniter 错误“无法使用提供的设置连接到您的数据库服务器。”
- nfs - python os.utime 对 nfs 失败了?
- docker - 配置 docker-compose 日志以省略前置文本
- java - 我得到一个空列表,查询 java spring 时出错
- smo - 使用 SMO 查找主键中列的序号