Hi ,
I already installed magento2.4 in my computer. But when I try to load the page it show nothing like attached screenshot. can you help me to solve this error?
It doesn't attached correctly. please give me your email to send it or please contact me by this email. gayan2555@gmail.com
Hello @gayan2555g44ee ,
please check below links , it may help you
https://magento.stackexchange.com/questions/256337/magento-2-3-how-to-fix-blank-admin-page-not-rende...
https://magento.stackexchange.com/questions/252069/after-installing-magento-2-3-admin-login-page-can...
https://meetanshi.com/blog/solved-magento-2-2-7-and-2-3-admin-page-blank-issue/
Thank You.
Check if you have any error log during magento 2 installation process. And did you install sample data?
Also, try to deploy static contect and upgrade database with the following command
php bin/magento setup:static-content:deploy php bin/magento setup:upgrade
Hi @gayan2555g44ee,
Please go to /vendor/magento/framework/View/Element/Template/File/Validator.php and replace:
$realPath = $this->fileDriver->getRealPath($path);
to:
$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));
rm -rf pub/static/adminhtml pub/static/frontend root/pub/static/deployed_version.txt
Give proper permission to pub/static folder. Run the following command:
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy
Hope this can help you! Let me know if you need further assistance.
__________
If issue solved, Click Kudos & Accept as Solution.