Current Support Thread at Zen Cart Forums: https://www.zen-cart.com/showthread.php?211217-Support-Thread-Report-All-Errors-%28Even-Warnings%29
This plugin provides an easy way for developers to control the logging of all PHP-related errors to a myDEBUG*.log file. After you've installed the plugin, there are three new values in your admin's Configuration->Logging:
PHP Notice
report, increasing the size of the generated .log file. The default value of No should be used in most circumstances, since those "Notice" errors are normally due to a coding construct present in the file named in the report. (Added in v2.0.2)Notes:
The first time you enable the reporting of all errors on your store you might see a number of items similar to
PHP Notice: Constant SOME_LANGUAGE_CONSTANT_NAME already defined in {DIR_FS_CATALOG}\includes\languages\english.php on line xxx
These "notice" messages are issued if your store has made a template-override change to the default language file (for this example, english.php). That's because Zen Cart first loads your template-override language file and then — because sometimes new messages are introduced with a new Zen Cart version — loads the default language file. These notices can be safely ignored; you can use the plugin's IgnoreDups setting to cause these notifications to not be logged.
Starting with v3.1.0, the plugin now collects, for each "page-load", the reported errors into one or more log files based on an error's severity:
Refer to the comments present in /includes/extra_configures/enable_error_logging.php
for additional information.
This section identifies the procedure you'll use to install/update or remove the plugin for your Zen Cart.
There are two core-file overwrites in this plugin; you should always backup your cart's database and files prior to making any changes.
YOUR_ADMIN
folder to match your store's "secret" admin-folder name.The plugin's undergone some re-construction starting in v2.0.0, adding an additional configuration setting. The easiest way to upgrade to v2.x.x from 1.x.x is to run the plugin's SQL uninstall script and then follow the installation instructions.
First, delete the files that were copied to your Zen Cart installation's file-system, restoring any core-file overrides that might have been necessary. Then use your admin's Tools->Run SQL Patches to run the file /docs/report_all_errors/uninstall/report_all_errors_uninstall.sql
.