1

I'm using magento 2 and everytime I try to enable a module with --clear-static-content , after I upgrade , clean and deploy , but my static content doesn't load anymore. And when I do deploy , only the en_US content gets done , but not en_GB , and I am using en_GB. Any idea what it might cause this ?

1

If you use production mode you need redeploy static content with command:

bin/magento setup:static-content:deploy

  • I do so , If I use only that , only my en_US content gets deployed , and if I do php bin/magento --ansi setup:static-content:deploy en_GB , I get some of the content generated , but not the js files.. – alexcr Jun 2 '16 at 10:07
  • looks like bug, can you post it on github? – KAndy Jun 2 '16 at 10:21
  • here it is github.com/magento/magento2/issues/4833 – alexcr Jun 2 '16 at 10:29
  • just managed to get it work , I had a conflict , by the way main function to get the content back in my case is ` php bin/magento --ansi setup:static-content:deploy en_GB ` – alexcr Jun 2 '16 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.