cancel
Showing results for 
Search instead for 
Did you mean: 

Admin theme gone after change language in admin page

Admin theme gone after change language in admin page

I installed Magento 2, everything went well. After i change the language to Chinese, the admin page theme gone. Cannot find a way to change it back, please help!
7 REPLIES 7

Re: Admin theme gone after change language in admin page

Please run below command from SSH,

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento setup:di:compile
php bin/magento indexer:reindex
php bin/magento cache:flush
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Admin theme gone after change language in admin page

Hi @mark_leung

 

Can you please share a screenshot what exactly you are able to see at admin right now ? so its help us to troubleshoot the issue

if issue solved,Click Kudos & Accept as Solution

Re: Admin theme gone after change language in admin page

Hi! I lost my previous account, and I try to run your suggested command under my terminal. I got the following exception prompt.

 

php bin/magento setup:upgrade
                                                                                                      
  [Exception]                                                                                           
  Warning: file_get_contents(/var/www/html/magento/var/di/setup.ser): failed to open stream: No such f  
  ile or directory in /var/www/html/magento/lib/internal/Magento/Framework/App/ObjectManager/ConfigLoa  
  der/Compiled.php on line 28                                                                           
 
setup:upgrade [--keep-generated] [--magento-init-params="..."]

 

Re: Admin theme gone after change language in admin page

Run. Bellw command
php bin/magento setup:di:compile
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Admin theme gone after change language in admin page

Hi

check the permission of the directories it should be writable..

You need to run below commands in sequence manner.

rm -rf generated
rm -rf var/cache
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

Hope it helps !
if issue solved,Click Kudos & Accept as Solution

Re: Admin theme gone after change language in admin page

Thanks for all your support here!

 

Actually I did run the di:compile command then read through the error log from apache.

I found that the permission of config.php wasn’t right so I did a 777 chmop for Magento/*.*

Then everything back to normal now.

 

Thanks! Again my problem is solved!

Re: Admin theme gone after change language in admin page

Glad to know that you have resolved your issue .. if you found my answer is helpful click on kudos and accept as solution ..
so other user gets helped ..

Happy to help and keep helping Smiley Happy
if issue solved,Click Kudos & Accept as Solution