cancel
Showing results for 
Search instead for 
Did you mean: 

Css files missing and 404 errors ?

Css files missing and 404 errors ?

 Hi 

I am seeing many people having issues with 404 errors. I still not managed to get it work.

I am installing a complete new installation on Apache 2.4 with php 5.6 and installing on root.

 

No errors during install. When checking frontend, the page is "broken" due to missing css and images. 

What is going on? Permissions seems so be correct (755/644) - Some files don't even exist, and some cant be loaded (404) even there are on server. I have tried reinstalling 3 times with different environment. Same issues.

 

 

5 REPLIES 5

Re: Css files missing and 404 errors ?

I encountered the same problem with you.

 

Re: Css files missing and 404 errors ?

Make any progress? The CSS is fixed yet commenting out the first 6 lines in the .htaccess file in the /static folder. I can't figure out the 404 issue with images. You can't add new products with images either.

Re: Css files missing and 404 errors ?

I had some similar problem (pub/static directory was empty) ... Have you tried to run /bin/magento setup:static-content:deploy ? 

Re: Css files missing and 404 errors ?

Hello,

 

You also set ownership? http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html

Try to set mode developer: php bin/magento deploy:mode:set developer

Then, php bin/magento setup:static-content:deploy

 

Problem solved? Click Accept as Solution!

Re: Css files missing and 404 errors ?

Hi, I had this exact issue, and this fixed it in just a few moments:

 

http://magento.stackexchange.com/a/64808/35934

 

GL!