- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Admin theme gone after change language in admin page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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="..."]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Admin theme gone after change language in admin page
php bin/magento setup:di:compile
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Admin theme gone after change language in admin page
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 !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Admin theme gone after change language in admin page
so other user gets helped ..
Happy to help and keep helping
![Smiley Happy Smiley Happy](/i/smilies/16x16_smiley-happy.png)