0

I've cleared the the static and cache folders as recommended here -

Magento2: Re generate css file in pub/static folder

But now backend and my theme folder are missing from static, so I'm getting lots of missing files?

php bin/magento setup:static-content:deploy

doesn't help?

asked Jul 5, 2016 at 9:02

2 Answers 2

0

Go to Admin Section Cache Management click Flush Static File Cache and run

bin/magento setup:static-content:deploy

command your theme Folder Re Generate your theme folder in Pub Static.

answered Jul 5, 2016 at 9:35
0

I also deleted the .htaccess file in the static folder. Added that back in static folder and it started again - everything started to work :)

Reference - https://community.magento.com/t5/Theming-Layout-Design-Questions/Static-files-for-custom-theme-not-being-generated/td-p/39563

Mohit Kumar Arora
10.2k7 gold badges29 silver badges57 bronze badges
answered Jul 5, 2016 at 9:30

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.