-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Missing backend + no css #1484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Check the page using a browser inspector like Firebug for Firefox. See where the page is calling CSS and JS from and make sure the path exists. There are at least two possibilities: a) Apache web server rewrites are not enabled; b) You specified the wrong backend-frontname (or Magento base URL) during installation. Rewrites: http://devdocs.magento.com/guides/v1.0/install-gde/prereq/apache.html#install-ubuntu-apache-rewrites |
Or pub/static/.htaccess was removed |
shouldn't i find the files like styles-m.css or logo.svg when i do a find in the magento2 folder ? |
I found the problem. I had to change AllowOverride none to All in the httpd.conf for the document root. Thank you all for helping. <Directory "/var/www/html">
|
Yes, that's correct and no you don't have to reinstall, just restart Apache (for the benefit of someone who might see this). |
@drbn assuming the problem is solved, closing the issue. Feel free to reopen if you had new details. |
I got the same error under Windows 8.1, boken theme after instalation |
I had the same problem on Windows 10. SKovbel's solution fixed it, but I'm not sure what the consequences will be. |
I followed the installation guide except for the sample data.(Apache 2.4.6,PHP 5.6.10,Red Hat 7)
I was able to run the setup with all css and images.It didn't give me any errors during the setup and it installed successful but than the trouble came. The frontend is missing js and css and the backend is just giving a 404.
Also i tried to do a find in the server for the missing js but i couldn't find it. What can i check/redo ?
172.31.64.13 - - [14/Jul/2015:17:02:22 +0200] "GET /magento2/ HTTP/1.1" 200 18707 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
172.31.64.13 - - [14/Jul/2015:17:02:22 +0200] "GET /magento2/pub/static/frontend/Magento/blank/nl_NL/mage/calendar.css HTTP/1.1" 404 264 "http://172.30.0.222/magento2/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
172.31.64.13 - - [14/Jul/2015:17:02:22 +0200] "GET /magento2/pub/static/frontend/Magento/blank/nl_NL/css/print.css HTTP/1.1" 404 260 "http://172.30.0.222/magento2/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
172.31.64.13 - - [14/Jul/2015:17:02:22 +0200] "GET /magento2/pub/static/frontend/Magento/blank/nl_NL/css/styles-l.css HTTP/1.1" 404 263 "http://172.30.0.222/magento2/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
172.31.64.13 - - [14/Jul/2015:17:02:22 +0200] "GET /magento2/pub/static/frontend/Magento/blank/nl_NL/requirejs/require.js HTTP/1.1" 404 267 "http://172.30.0.222/magento2/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
172.31.64.13 - - [14/Jul/2015:17:02:22 +0200] "GET /magento2/pub/static/frontend/Magento/blank/nl_NL/css/styles-m.css HTTP/1.1" 404 263 "http://172.30.0.222/magento2/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
172.31.64.13 - - [14/Jul/2015:17:02:22 +0200] "GET /magento2/pub/static/frontend/Magento/blank/nl_NL/images/logo.svg HTTP/1.1" 404 262 "http://172.30.0.222/magento2/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
::1 - - [14/Jul/2015:17:02:28 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 () PHP/5.6.10 (internal dummy connection)"
::1 - - [14/Jul/2015:17:02:29 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 () PHP/5.6.10 (internal dummy connection)"
172.31.64.13 - - [14/Jul/2015:17:06:44 +0200] "GET /magento2/admin HTTP/1.1" 404 212 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
172.31.64.13 - - [14/Jul/2015:17:06:51 +0200] "GET /magento2/admin/ HTTP/1.1" 404 213 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
The text was updated successfully, but these errors were encountered: