清除缓存,对maganto目录中的所有文件和文件夹赋予777权限,仍然没有解决方案..
我什至无法访问管理面板,因为链接无法正常工作。
这是全新安装,我做到了
git clone magento_https_link
其中 link 是 magento2 @ github 的 github 链接。
一切顺利,我按照官方教程,安装了 composer thing 和所有,我安装了它,按照步骤到最后,安装完成后,我点击了前端,没有 css,和后端,没有 css。Css 在安装过程中运行良好。
当我按 F12 并切换到控制台时,它在 css 、 javascript 和图像文件上显示错误 404。如果我尝试手动访问任何 css 的 url,它们都不存在。它真的很奇怪。
而且我不知道什么是 css js 合并。对此没有任何想法。
我在数据库中的核心配置:
mysql> select * from `core_config_data`;
+-----------+---------+----------+-------------------------------+------------------------------------------+
| config_id | scope | scope_id | path | value |
+-----------+---------+----------+-------------------------------+------------------------------------------+
| 1 | default | 0 | web/seo/use_rewrites | 1 |
| 2 | default | 0 | web/unsecure/base_url | http://NAME_OF_SITE/magento/magento2/ |
| 3 | default | 0 | web/secure/base_url | https://NAME_OF_SITE/magento/magento2/ |
| 4 | default | 0 | general/locale/code | en_US |
| 5 | default | 0 | web/secure/use_in_frontend | NULL |
| 6 | default | 0 | web/secure/use_in_adminhtml | NULL |
| 7 | default | 0 | general/locale/timezone | XX/XX |
| 8 | default | 0 | currency/options/base | XX |
| 9 | default | 0 | currency/options/default | XX |
| 10 | default | 0 | currency/options/allow | XX |
| 11 | default | 0 | general/region/display_all | 1 |
| 12 | default | 0 | general/region/state_required | AT,BR,CA,CH,DE,EE,ES,FI,FR,LT,LV,RO,US |
| 13 | default | 0 | catalog/category/root_id | NULL |
+-----------+---------+----------+-------------------------------+------------------------------------------+
13 rows in set (0.00 sec)