Can't disable error reporting in OpenCart (PHP)

后端 未结 6 2240
失恋的感觉
失恋的感觉 2021-02-10 11:54

I can\'t seem to disable error reporting in PHP - I have tried everything but \"Notice\" errors are still displayed.

My php.ini has

display_errors = Off;         


        
6条回答
  •  旧时难觅i
    2021-02-10 12:15

    There is a setting within the OpenCart dashboard that allows you to turn on (or off) error reporting and logging.

    1. Log into your dashboard
    2. In the menu, go to "System" and select "Settings"
    3. In the list of stores, click "Edit" for your store
    4. Click the "Server" tab.
    5. Scroll down, and there's two settings:
      a. Log Errors - set this as desired
      b. Display Errors - set this to "No"

提交回复
热议问题