To enable in-system PHP error logging in OpenCart, do the following:
-
Go to the section "
System → Settings» («
System → Settings»):

To the right of the store name, click “
Edit» («
Edit»):

Switch to the "
Server» («
Server»):

At the very bottom of the page, find the section “
Errors"And set the required parameters:

There are two ways to read the error log:
-
Go to the section "
System → Service → Error log»:

The page that opens will display the entire error log that was recorded
CMS.
You can read the error log entries by downloading the log file located along the path
/storage/logs/error.log
, from
site root directory.