0

I have installed Magento 2.4.1 via composer install, then I tried to log in to the admin it asks for two-factor authentication, I have disabled the two-factor authentication using the command (bin/magento module:disable Magento_TwoFactorAuth) and flushed the cache using (bin/magento cache:flush), after doing these when I try to access my site it gives a blank page(attached screenshot). m2 site not loading

2
  • check var/log/ for any exception Commented Dec 14, 2020 at 13:47
  • probably bin/magento setup:upgrade will help (in developer mode) or bin/magento setup:upgrade && bin/magento s:d:c && bin/magento s:s:d (in production mode) Commented Dec 14, 2020 at 15:27

1 Answer 1

0

I found the answer with the help of my senior, running the below command will fix the issue and makes the site to appear.

cmd: php bin/magento setup:di:compile

in 2.4.1 after enabling a module we need to do compile.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.