cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.2 css not loading

Magento 2.2 css not loading

I have installed Magento 2.2 on hosted server (rewrite mod is on) and I have since 2 days a problem with .css file.

First of all, I deactivated on MYSQL static sign - "dev/static/sign => 0", so I don't have any "version15...." folder on /pub/static/.

I have cleaned all cache files and deploy all the things, what magento needs:

rm -rf var/view_preprocessed/ var/cache/ var/page_cache/ var/tmp/ var/generation/ pub/static/frontend/php bin/magento cache:flush 
php bin/magento indexer:reindex 
php bin/magento setup:upgrade 
php bin/magento setup:db-data:upgrade 
php bin/magento dev:source-theme:deploy 
php bin/magento setup:static-content:deploy 

If I launch my page on firefox, I see that Magento want access to https://www.at-handel.at/pub/static/adminhtml/Magento/backend/en_US/extjs/resources/css/ext-all.css

I checked the path and it's correct. I have ext-all.css file on this path, but Firefox/Internet Explorer/Safari don't show me. It's not only on frontend, it's also on backend - https://www.at-handel.at/arkaplan
I have also checked the permissons on /var or /pub/static/ - 755

What can I do now??? Please help me.

1 REPLY 1

Re: Magento 2.2 css not loading

Hi mertrem,

I see your site is running again.  I had a similar problem and was hoping you might share your solution.

Cheers, Markus