清除缓存, 给予777权限在maganto目录, 还是无解的所有文件和文件夹..CSS可在我的VPS不加载了Magento的2
我甚至无法访问管理面板,因为链接不正常工作。
这是一个新安装的,我做了
git clone magento_https_link
其中的链接是GitHub的链接magento2 @ github上。
一切都很顺利,我跟着官方教程,安装了作曲家的东西和所有的东西,我安装了它,接下来的步骤结束,当安装完成时,我点击前端,没有css,后端,没有css 。 Css在安装过程中工作正常。
当我按下F12并切换到控制台时,它会在css,javascript和图像文件上显示错误404。如果我尝试为任何CSS手动访问网址,他们不在那里。它真的很奇怪。
我不知道什么是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运行,你可以把一个模具()函数来交叉检查? – Chiragit007
是的,它运行。 反正我使用的是git克隆的东西,而不是我从magento的官方网站下载并上传,它工作完美,git版本有问题.. – user1735921