- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No CSS & Java in Admin Backend
Hi there,
The site is working well, however, the admin backend has no css or javascript and I have no clue how to fix. Tried a few things but nothing seems to fit it. It did work before so it's not a new installation issue. The SSL works fine and the domain names in Base URL are fine on the main website.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: No CSS & Java in Admin Backend
Have you multi-store setup with multi language? if Yes then you need to run deploy command with your store language If you have dutch language run command like,
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f en_US nl_NL
If you have only English language in store admin, You need to run below command from Magento root via Command line,
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f
Also, check in your pub/static folder has a .htaccess file available.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: No CSS & Java in Admin Backend
Which command do I type for PHP in Ubuntu? Also htaccess exists in the folder.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: No CSS & Java in Admin Backend
You need to run below command from Magento root folder where your composer.json file resides,
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: No CSS & Java in Admin Backend
Didn't really help now the admin page won't load. Too many redirects it says.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: No CSS & Java in Admin Backend
Go to var/log directory - check the exception.log file and the post that error log over here - so its help us to troubleshoot the issue !
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: No CSS & Java in Admin Backend
Do you running it with Apache or under Nginx?