I asked my hosting site to update PHP so that I could configure Payzone to Magento 2. It seems that it may have upset something as when I try to go on the website, magento admin or File zilla I get an error message or Unable to retrieve deployment version of static files from the file system.
I've asked the hosting site to take a look, but they don't think that it's a problem at their end. Does anyone have any idea how I might fix this.
-
As you've added a php 5.4 tag , i would like to remind you that magento 2 doesnt work on it - devdocs.magento.com/guides/v2.1/install-gde/…Vivek Kumar– Vivek Kumar2017年11月08日 09:48:36 +00:00Commented Nov 8, 2017 at 9:48
-
Could you ignore the tagBev.T– Bev.T2017年11月08日 09:49:28 +00:00Commented Nov 8, 2017 at 9:49
-
what magento version are you runningVivek Kumar– Vivek Kumar2017年11月08日 09:54:21 +00:00Commented Nov 8, 2017 at 9:54
-
I'm running magento 2Bev.T– Bev.T2017年11月08日 09:58:07 +00:00Commented Nov 8, 2017 at 9:58
2 Answers 2
Seems you have converted your store from the developer mode to the production mode and now the system is not able to create the folders and files automatically.
For the same, try below steps
php bin/magento cache:clean
php bin/magento cache:flush
remove everything(not .htacess) from pub/static, var, generated
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento setup:static-content:deploy en_AU --exclude-theme Magento/luma --exclude-theme Magento/blank -f
Here you go, check your frontend and admin, it should work like it should be. Enjoy
Just a note here that en_AU above is the ISO-639 language code. Replace if necessary.