Magento 2安装问题

时间:2017-04-11 12:58:57

标签: php magento

我已经在xampp服务器上成功安装了Magento 2,但我在加载管理页面时遇到了问题,因为它给了我404.此外,当它的主页加载默认主题时,它没有'适用,而是给我以下错误:

Failed to load resource: the server responded with a status of 404 (Not Found)
:7777/Magento/pub/static/version1491913172/adminhtml/Magento/backend/en_US/extjs/resources/css/ext-all.css Failed to load resource: the server responded with a status of 404 (Not Found)
:7777/Magento/pub/static/version1491913172/adminhtml/Magento/backend/en_US/jquery/jstree/themes/default/style.css Failed to load resource: the server responded with a status of 404 (Not Found)
mixins.js Failed to load resource: the server responded with a status of 404 (Not Found)
require.js Failed to load resource: the server responded with a status of 404 (Not Found)
magento-icon.svg Failed to load resource: net::ERR_CONNECTION_RESET
mixins.js Failed to load resource: net::ERR_CONNECTION_RESET
requirejs-config.js:66 Uncaught TypeError: require is not a function
    at requirejs-config.js:66
    at requirejs-config.js:71
    at requirejs-config.js:423
127.0.0.1/:39 Uncaught TypeError: require.config is not a function
    at 127.0.0.1/:39
127.0.0.1/:87 Uncaught TypeError: require is not a function
    at 127.0.0.1/:87
127.0.0.1/:298 Uncaught TypeError: require is not a function
    at 127.0.0.1/:298
127.0.0.1/:430 Uncaught TypeError: require is not a function
    at 127.0.0.1/:430
127.0.0.1/:475 Uncaught TypeError: require is not a function
    at 127.0.0.1/:475
127.0.0.1/:533 Uncaught TypeError: require is not a function
    at 127.0.0.1/:533
127.0.0.1/:556 Uncaught TypeError: require is not a function
    at 127.0.0.1/:556
127.0.0.1/:579 Uncaught TypeError: require is not a function
    at 127.0.0.1/:579
opensans-400.woff2 Failed to load resource: net::ERR_CONNECTION_RESET
admin-icons.woff2 Failed to load resource: net::ERR_CONNECTION_RESET
opensans-600.woff2 Failed to load resource: net::ERR_CONNECTION_RESET
opensans-700.woff2 Failed to load resource: net::ERR_CONNECTION_RESET
opensans-400.woff Failed to load resource: net::ERR_CONNECTION_RESET
admin-icons.woff Failed to load resource: net::ERR_CONNECTION_RESET
opensans-600.woff Failed to load resource: net::ERR_CONNECTION_RESET
opensans-700.woff Failed to load resource: net::ERR_CONNECTION_RESET
opensans-400.ttf Failed to load resource: net::ERR_CONNECTION_RESET
admin-icons.ttf Failed to load resource: net::ERR_CONNECTION_RESET
opensans-600.ttf Failed to load resource: net::ERR_CONNECTION_RESET
opensans-700.ttf Failed to load resource: net::ERR_CONNECTION_RESET

1 个答案:

答案 0 :(得分:1)

似乎许可问题。它在magento2中很常见。

请尝试此解决方案。

https://magento.stackexchange.com/a/93892

进行上述更改后,请执行以下命令。

php bin / magento setup:static-content:deploy

请尝试此操作,如果您需要任何其他帮助,请与我们联系。或者你可以通过我的Skype联系我:mayur.jadeja8

由于