cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4 install

Magento 2.4 install

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?Screenshot (30).pngScreenshot (31).png

6 REPLIES 6

Re: Magento 2.4 install

@gayan2555g44ee ,

kindly upload again the screenshots 

they are not visible. 

 

 

Re: Magento 2.4 install

Screenshot (30).pngScreenshot (31).png

Re: Magento 2.4 install

It doesn't attached correctly. please give me your email to send it or please contact me by this email. gayan2555@gmail.com

Re: Magento 2.4 install

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

 

Re: Magento 2.4 install

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

 

Marcus | LitExtension Expert
https://litextension.com/