I've installed Magento 2.3.4 on xampp 7.2.28-0. The admin-panel didn't load so i started researching and did the following: go to: /vendor/magento/framework/View/Element/Template/File/Validator.php


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


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

After this I could log in but the Admin-Panel didn't load and the logos didn't show.

enter image description here


You going to the etc/di.xml file

And search the


And change this


And run this :-

1.Remove pub/static

2.Remove var/cache

3.Remove var/composer_home

4.Remove var/generation

5.Remove var/page_cache

6.Remove var/view_preprocessed

7.run php bin/magento setup:static-content:deploy

  • Thanks for your answer. I did everything. It didn't work. Then I tried php bin/magento setup:static-content:deploy -f . So now I see only text and when I click on it, I land on the same page. – leonidas404 Mar 30 '20 at 15:38
  • Please add you new screen shot – Mohit Patel Mar 30 '20 at 16:09
  • Check your console error – Mohit Patel Mar 30 '20 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.