【发布时间】:2016-01-17 18:47:05
【问题描述】:
清除缓存, 授予对 maganto 目录中所有文件和文件夹的 777 权限, 仍然没有解决方案..
我什至无法访问管理面板,因为链接无法正常工作。
这是一个全新的安装,我做到了
git clone magento_https_link
link 是 magento2 @ github 的 github 链接。
一切顺利,我按照官方教程,安装了composer的东西,我安装了它,按照步骤到最后,安装完成后,我点击了前端,没有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)
【问题讨论】:
-
您好,index.php 目前是否运行,您可以放置一个 die() 函数进行交叉检查吗?
-
是的,它运行。反正我用的是git clone的东西,不是我从magento官网下载上传的,效果很好,git版本有问题..
标签: php css magento vps magento2