After installing Magento 2.3, When I am trying to open the admin panel login screen is blank and my console contains an error as shown in the image. if anyone has a solution then please let me know.
1 Answer
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;
}
}
-
-
-
hi @manojpal its working fine, but frontend not getting home page prntscr.com/lpssgn and at admin page prntscr.com/lpst7h windows please advise Dec 2, 2018 at 20:04
-
-
@manojpal it was just freshly installed in windows thats it whether it is required? Dec 3, 2018 at 6:19