cancel
Showing results for 
Search instead for 
Did you mean: 

After installing magento2.3 in wamp successfully, the home page is not loaded.

After installing magento2.3 in wamp successfully, the home page is not loaded.

Installed in WAMP, the management login interface has been resolved, the home page is not loaded, I hope the steps can be more detailed, thank you very much.home page.png

3 REPLIES 3

Re: After installing magento2.3 in wamp successfully, the home page is not loaded.

Hi @qi_xu 

 

In file vendor\Magento\Framework\View\Element\Template\File\Validator.php

 

Search for this line of code and replace:

$realPath = $this->fileDriver->getRealPath($path);

to

$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));

Run following commands from CLI.

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Hope it will work for you.

 

Thanks

--

Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.

Re: After installing magento2.3 in wamp successfully, the home page is not loaded.

I am new to Magento, PHP in general, struggled very much with the installation itself, finally when I got 2.4.0 installed on XAMPP, I faced similar issues. Tried with your solution and it just worked fine. Thank you so much for sharing the solution.

Re: After installing magento2.3 in wamp successfully, the home page is not loaded.

Did you check whether all packages were successfully installed? And also, the supporting ones.

 

Regards,

Onebox HD Apk