3

Fresh Magento 2.3 installed in windows, after resource check and completed everything successfully installed, then if i open my website i am getting error like,

enter image description here

enter image description here

zus
  • 165
  • 2
  • 17
  • 77

1 Answers1

2

Check this link: After installing magento 2.3 admin login page cant open properly

Find : /vendor/magento/framework/View/Element/Template/File/Validator.php:139

find : 
foreach ($directories as $directory) {
    if (0 === strpos($realPath, $directory)) {
        return true;
    }
}

Replace with:
foreach ($directories as $directory) {
    $realDirectory = $this->fileDriver->getRealPath($directory);
    // and replace `$directory` with `$realDirectory`
    if (0 === strpos($realPath, $realDirectory)) {
        return true;
    }
}

It's working

Manoj Pal
  • 1,047
  • 8
  • 18