Skip to main content
Spelling check and formatting some code so it's clear what lines are code
Source Link

i upgrade I upgraded from 2.1.9 to 2.2.7 andbut css and javascript is not wotkingworking

i doI tried to upgrade using this command : composer require magento/product-community-edition 2.2.7 --no-update composer update rmthese commands -rf var/di var/generation php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex

composer require magento/product-community-edition 2.2.7 --no-update

composer update

rm -rf var/di var/generation
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex

and upgrade doneEverything ran successfully. but now but css and javascript files are not working in backendthe back- and frontendfront-end. and i checkI checked the .httaccess files and i do contentran content deploy for en and ar: php bin/magento setup:static-content:deploy ar_SA -f

php bin/magento setup:static-content:deploy ar_SA -f

Frontend

i upgrade from 2.1.9 to 2.2.7 and css and javascript not wotking

i do upgrade using this command : composer require magento/product-community-edition 2.2.7 --no-update composer update rm -rf var/di var/generation php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex

and upgrade done successfully. but now css and javascript not working in backend and frontend and i check .httaccess and i do content deploy for en and ar: php bin/magento setup:static-content:deploy ar_SA -f Frontend

I upgraded from 2.1.9 to 2.2.7 but css and javascript is not working

I tried to upgrade using these commands :

composer require magento/product-community-edition 2.2.7 --no-update

composer update

rm -rf var/di var/generation
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex

Everything ran successfully but css and javascript files are not working in the back- and front-end. I checked the .httaccess files and ran content deploy:

php bin/magento setup:static-content:deploy ar_SA -f

Frontend

Source Link

i upgrade from 2.1.9 to 2.2.7 and css and javascript not wotking

i do upgrade using this command : composer require magento/product-community-edition 2.2.7 --no-update composer update rm -rf var/di var/generation php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex

and upgrade done successfully. but now css and javascript not working in backend and frontend and i check .httaccess and i do content deploy for en and ar: php bin/magento setup:static-content:deploy ar_SA -f Frontend