8

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.

asked Nov 8, 2017 at 9:19
4
  • 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/… Commented Nov 8, 2017 at 9:48
  • Could you ignore the tag Commented Nov 8, 2017 at 9:49
  • what magento version are you running Commented Nov 8, 2017 at 9:54
  • I'm running magento 2 Commented Nov 8, 2017 at 9:58

2 Answers 2

13

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

answered Jan 31, 2019 at 7:38
0

Just a note here that en_AU above is the ISO-639 language code. Replace if necessary.

answered Aug 15, 2024 at 18:21

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.