Install magento 2.3.6, and it installed fine, but when opening the page it does not show anything, but the admin page there does work

enter image description here

  • any error in log file ??? Commented Dec 1, 2020 at 5:43

1 Answer 1


Open This File :-


A function isPathInDirectories added a line

$realPath = str_replace('\\', '/', $realPath);

or refer below code function

protected function isPathInDirectories($path, $directories)
    if (!is_array($directories)) {
        $directories = (array)$directories;
    $realPath = $this->fileDriver->getRealPath($path);
    $realPath = str_replace('\\', '/', $realPath); // extra code added
    foreach ($directories as $directory) {
        if (0 === strpos($realPath, $directory)) {
            return true;
    return false;


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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