Development Mode - Just For You.

In config.local.php



Add this code directly underneath the copyright notice:



if ($_SERVER['REMOTE_ADDR'] == '000.000.000.000') {
define('DEVELOPMENT', true);
error_reporting(E_ALL);
ini_set('display_errors', 'On');
}




Where

000.000.000.000 equals your IP address.

This will allow you to review any error messages when displayed, and not to your customers.

Also, it might be a good idea to activate the debugger for both the admin panel and the storefront. Just add the following line:

define('DEBUG_MODE', true);

after this one:

ini_set('display_errors', 'On');

You can check more information about bult-in debugger here:



Debugger — CS-Cart 4.2.x documentation



Thanks