无法在 Magento 2 中创建新产品。3.x(空白页)
Unable to create new Product in Magento 2.3.x (Blank Page)
我最近安装了带有样本数据的 Magento 2.3.5-p1/2.3.4(不同的版本来解决这个问题),在前端或管理面板中似乎一切正常。但是,如果我尝试创建新客户或新产品,或查看我拥有的当前页面,或管理面板中的主题选项,我会得到一个空白页面。
1.管理 > 内容 > 页面
.
2。管理员 > 目录 > 产品
3。管理 > 目录 > 类别
我在 Nginx 日志中没有任何错误,但是我在 system.log
中看到以下类型的错误,我认为应该忽略这些错误,因为这是我在互联网上找到的。
[2020-07-13 05:52:54] main.INFO: Broken reference: the
'product.reviews' element cannot be added as child to 'product_tabs',
because the latter doesn't exist [] []
我已经在其他几个论坛上寻求帮助,但 none 能够提供帮助,所以我终于在这里发帖。希望有人能指导我。
更新:
受影响的页面有:
Admin > Customers > All Customers > Add New Customer
Admin > Catalog > Product
Admin > Catalog > Categories
Admin > Content > Themes
Admin > Content > Configuration
Admin > Content > Pages
Admin > Content > Blocks
在这些选项卡中不受影响:
Admin > Content > Schedule
Admin > Content > Widgets
能否在 index.php 中启用 php 显示错误
只需将下面的代码添加到 index.php 的顶部并创建产品或页面
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
问题出在 ngx_pagespeed 模块上,我禁用了 Page Speed,现在它工作得非常好,没有任何错误。
我在 nginx 配置文件中添加了以下行。
$ vi /etc/nginx/conf.d/domain.conf
pagespeed off;
我最近安装了带有样本数据的 Magento 2.3.5-p1/2.3.4(不同的版本来解决这个问题),在前端或管理面板中似乎一切正常。但是,如果我尝试创建新客户或新产品,或查看我拥有的当前页面,或管理面板中的主题选项,我会得到一个空白页面。
1.管理 > 内容 > 页面
.
2。管理员 > 目录 > 产品
3。管理 > 目录 > 类别
我在 Nginx 日志中没有任何错误,但是我在 system.log
中看到以下类型的错误,我认为应该忽略这些错误,因为这是我在互联网上找到的。
[2020-07-13 05:52:54] main.INFO: Broken reference: the 'product.reviews' element cannot be added as child to 'product_tabs', because the latter doesn't exist [] []
我已经在其他几个论坛上寻求帮助,但 none 能够提供帮助,所以我终于在这里发帖。希望有人能指导我。
更新:
受影响的页面有:
Admin > Customers > All Customers > Add New Customer
Admin > Catalog > Product
Admin > Catalog > Categories
Admin > Content > Themes
Admin > Content > Configuration
Admin > Content > Pages
Admin > Content > Blocks
在这些选项卡中不受影响:
Admin > Content > Schedule
Admin > Content > Widgets
能否在 index.php 中启用 php 显示错误 只需将下面的代码添加到 index.php 的顶部并创建产品或页面
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
问题出在 ngx_pagespeed 模块上,我禁用了 Page Speed,现在它工作得非常好,没有任何错误。
我在 nginx 配置文件中添加了以下行。
$ vi /etc/nginx/conf.d/domain.conf
pagespeed off;