magento 2.3 после установки пустой экран - PullRequest
0 голосов
/ 06 декабря 2018

Sceen Shot.

После установки без ошибок администратор выводит пустой экран, но выдает ошибку на консоли браузера.

Screen Shot

1 Ответ

0 голосов
/ 30 января 2019

Пожалуйста, ниже инструкции, надеюсь, что это решит.Просто добрался до vendor / magento / framework / View / Element / Template / File / validation.php и переходим к строке 138 строк

Заменим

$ realPath = $ this-> fileDriver-> getRealPath ($ путь);foreach ($ directory как $ directory) {

        if (0 === strpos($realPath, $directory)) {
            return true;
        }
    }

С

$ realPath = $ this-> fileDriver-> getRealPath ($ path);foreach ($ directory как $ directory) {$ directory = $ this-> fileDriver-> getRealPath ($ path);if (0 === strpos ($ realPath, $ directory)) {return true;}}

...