Обновление 2.2.6 до 2.3.4 - бэкэнд работает, но страница внешнего интерфейса пуста - PullRequest
0 голосов
/ 09 февраля 2020

Я использую тему из шаблона-монстра, я успешно обновился с 2.1.7 до 2.2.6 Я использовал обновление через командную строку. На Centos 7 используется технология PHP 7.1.3. Я могу go прекрасно выполнить бэкенд и войти в систему, и все, кажется, работает (только бэкэнд).

Однако интерфейс показывает только пустую страницу - я пытался изменить разрешения несколькими способами, включая chmod -R 777 / var / www/html/magento2 - я сбрасывал, обновлял, компилировал, индексировал и развертывал несколько раз в разных порядках - Мой В лог-файлах показаны некоторые предупреждения о том, что из-за этого я не уверен, что именно это вызывает пустой экран

Вот оно

[2020-02-08 22:34:04] main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'catalog.sidebarnav' element cannot be added as child to 'div.sidebar.main', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'brand.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'yotpo_bottomline' element cannot be added as child to 'product.info.main', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'paypal.partner.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'bml.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'catalog.sidebarnav' tries to reorder itself towards '', but their parents are different: 'div.sidebar.main' and '' respectively. [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'brand.sidebar' tries to reorder itself towards 'catalog.compare.sidebar', but their parents are different: 'sidebar.additional' and '' respectively. [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'yotpo_bottomline' tries to reorder itself towards 'product.info.addto', but their parents are different: 'product.info.main' and '' respectively. [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'store_switcher' tries to reorder itself towards 'copyright', but their parents are different: 'footer.grid-container' and 'footer' respectively. [] []
[2020-02-08 22:34:04] main.INFO: Broken reference: the 'header.switchers' tries to reorder itself towards 'sm.header.customer.menu.wrap', but their parents are different: 'header-wrapper.grid-container_inner' and '' respectively. [] []

Моя самая большая проблема заключается в том, что я не знаю, как это войти проблема, чтобы я мог отлаживать. Все, что я получаю, это некоторые неработающие ссылки, это то, что вызывает проблему.

Как я могу исправить проблему с пустым экраном?

РЕДАКТИРОВАТЬ: Я обновился до PHP 7.2.27, я удалил все мои stati c файлы и поменял тему на пустую, развернул все заново. Я отредактировал Валидатор. php, как многие предлагали, изменив этот код

$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));

К сожалению, все еще не повезло.

1 Ответ

0 голосов
/ 10 февраля 2020

Мне удалось выяснить проблему. Один или несколько моих модулей вызывали проблему. Я отключил их с помощью модуля: отключить через команду. Я отключил все модули, связанные с templatemonster. Вы можете отключить их 1 на 1 и продолжать проверять.

Есть способ отладки белого экрана, я узнал, как [здесь]

( Magento Как отлаживать пустой белый экран )

...