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 ???
    – Rk Rathod
    Dec 1 '20 at 5:43

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, privacy policy and cookie policy

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