I tried to install Magento 2 on Windows10, XAMPP. It experiment got a successfully installed page. But it is not work correctly. This is a browser image enter image description here

Anyone knows how to solve it ? Thanks in advance.

  • please check your php, mysql version – Chirag Parmar Oct 25 '19 at 6:27
  • Its Not Preferred to install magento on Ubuntu see meetanshi.com/blog/magento-2-system-requirements – Waqar Ali Oct 25 '19 at 9:12
  • Magento 2 System Requirements Operating Systems Requirements Linux distributors such as CentOS, Ubuntu, Debian or RedHat Enterprise Linux are easy to install Magento 2. – Ranjeet Kumar Oct 25 '19 at 16:53

I have same issue to with magento 2.3 on Windows 10, backoffice page show blank page with brown background.

after searching the problem on the web, finally found solution

  1. open file /vendor/magento/framework/View/Element/Template/File/Validator.php in magento install dir , you will find on LINE NO. 138

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

replace with :

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

Your login page showing, but the icon is missing in login page and after login

  1. open file app/etc/di.xml in magento install dir, find


and replace with

  1. Then go to var/cache , delete all folder / file
  2. refresh the page, done.

If still face issue then go to cmd open your magento dir then run all cmd one by one

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:flush
|improve this answer|||||

version :2.3.3 But I see a thing ;program looks for http://localhost/magento2/pub/static/version1571915454/frontend/Magento/luma/en_US/fonts/opensans/ folder for some files but Really this version1571915454 folder is not exist

|improve this answer|||||
  • In Magento 2.3.3 you will find "YourMagentofolder /vendor/magento/framework/View/Element/Template/File/Validator.php" this file..if not found this file that means you don't download proper file. It's Magento default file. – Sangeeta Chandaliya Oct 25 '19 at 10:05
  • Pub/static is generated folder, you don't need to change in this file. – Sangeeta Chandaliya Oct 25 '19 at 10:06
  • Validator.php file is exist and Pub/static/frontend folder is exist but pub/static/version1571915454/frontend... folder is not exist. each installation comes with another number( /version##########) – Alex Kibar Oct 25 '19 at 10:35
  • you don't need to update in pub folder file, you should need to update in "vendor/magento/framework/View/Element/Template/File/Validator.php" this file. please read my answer properly. – Sangeeta Chandaliya Oct 25 '19 at 10:39
  • the line 138 of validator.php = foreach ($directories as $directory) { if (0 === strpos($this->fileDriver->getRealPath($path), $directory)) { return true; } } – Alex Kibar Oct 25 '19 at 10:39

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.