Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Development Mode - Just For You. Rate Topic   - - - - -

 

Posted 29 August 2014 - 10:18 AM #1

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.
I've moved on from CS-Cart to WooC******** - If you need anything I can be of little help.

 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3396 posts

Posted 01 September 2014 - 01:56 PM #2

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');

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20233 posts

Posted 02 September 2014 - 07:49 AM #3

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

http://docs.cs-cart....s/debugger.html

Thanks
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)