Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/243.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Magento 2安装问题_Php_Magento - Fatal编程技术网

Php Magento 2安装问题

Php Magento 2安装问题,php,magento,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

我已经成功地在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

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

请尝试这个解决方案

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

php bin/magento设置:静态内容:部署

请试试这个,如果你需要任何其他帮助,请告诉我。或者你可以通过我的skype联系我:mayur.jadeja8


谢谢

欢迎您的光临(b职务:)我试过了,因为我也遇到了同样的问题,管理员页面一直用加载器加载。然而,我得到了一个错误,并且只有当我将chmod777或g+w/g+ws添加到文件和目录时,这个错误才会被删除<代码>致命错误:未捕获的Zend_Cache_异常:Cache_dir“/var/www/user/var/page_Cache”无法写入……,因此问题仍然存在