Zen Cart Logo
Forums / Code Collaboration / Developer Mode Functions

Developer Mode Functions

Views: 2,102

Results 1 to 2 of 2
5 Jan 2022, 2:37 PM
#1
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Developer Mode Functions

I just created a clean base install of 1.5.7c in my local host. I edited zc_install/includes/localConfig.php to enable Developer mode.

I thought this would stop the required removal of zc_install folder and the renaming of the admin but I am still getting errors since I did not do this. I am missing something but I am not sure what I did wrong.

Thoughts?

5 Jan 2022, 5:50 PM
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,869
Plugin Contributions:
7

Re: Developer Mode Functions

I have this block of defines at the end of my /local/configure.php file in both admin and shopfront which makes local dev life easier.

define('ADMIN_BLOCK_WARNING_OVERRIDE', true);//any non-empty value to disable check for zc_install and admin name. Check prevents admin login/shows alert_page.
define('WARN_INSTALL_EXISTENCE', 'false'); //any value !== 'true' to disable warning. Warning does not prevent admin login
define('WARN_CONFIG_WRITEABLE', '0'); //any value !== 'true' to disable warning. Warning does not prevent admin login
define('STRICT_ERROR_REPORTING', true);//true as boolean to enable
//define('DEVELOPER_OVERRIDE_EMAIL_STATUS', '');//false as string to prevent sending ANY emails
define('DEVELOPER_OVERRIDE_EMAIL_ADDRESS', '[email protected]');//override address for all emails