简体   繁体   English

消除openCart通知和警告

[英]Eliminating openCart Notices and Warning

I have added the following line in OpenCart front-controller index.php: 我在OpenCart前控制器index.php中添加了以下行:

error_reporting(E_ERROR);

But it still throws undefined-index Notice-Level error. 但是它仍然会引发未定义索引的通知级别错误。 What should I do? 我该怎么办?

  1. Login to opencart admin panel 登录到OpenCart管理面板
  2. Go to System > Settings . 转到System > Settings
  3. Click on edit button of your store. 点击商店的编辑按钮。
  4. In Server tab set No for the option Display Errors . 在“ Server选项卡中,为“ Display Errors选项设置“ No Display Errors

That's it. 而已。

Have a nice day !! 祝你今天愉快 !!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM