What is STRICT_ERROR_REPORTING?

This is a setting that can be used by developers to tell the store to override its normal security protection mode which prevents the display of error messages to your screen. 

Caveat: Outputting errors to the screen can cause some screens or features to not work correctly, especially those which involve being forwarded to another page based on certain criteria or after certain steps are completed.

Caveat: Also, using this option poses a security risk because error messages will disclose path and database information to malicious visitors who attempt rogue behaviors on your store. THUS, THIS SETTING SHOULD ONLY BE USED IN AN OFFLINE DEVELOPMENT ENVIRONMENT. Using it on a live store poses risks, and should only be used for short-term troubleshooting of a problem which can't be solved any other way.

Enabling STRICT_ERROR_REPORTING

To enable STRICT_ERROR_REPORTING, simply use your FTP program to upload a simple file to your store's site like this:
- For storefront problems, put it at: /includes/extra_configures/strict_error_reporting.php 
- For admin problems, put it at: /name-of-your-admin-folder-here/includes/extra_configures/strict_error_reporting.php 

Code:
<?php define('STRICT_ERROR_REPORTING', TRUE);

Disabling STRICT_ERROR_REPORTING

Simple: When you're done with the tool, simply delete the strict_error_reporting.php file you uploaded above.

If that doesn't disable it, then that means you've enabled it in another file on your server. You will need to search your entire site for that define statement and remove it. (See the Developer's Toolkit for that.)
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...