Has v157 removed the ability to use the admin\includes\local\configure.php overide?
environment Dev: Zen Cart 157; Apache 2.4.46; PHP 7.3.21; MySQL 5.7.31; Windows 10
Has v157 removed the ability to use the admin\includes\local\configure.php overide?
environment Dev: Zen Cart 157; Apache 2.4.46; PHP 7.3.21; MySQL 5.7.31; Windows 10
The expected load point may be a different location than previously accustomed with the inclusion of bootstrap for the admin, but that is loaded from: https://github.com/zencart/zencart/b...ap.php#L41-L49
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Interesting.
created another pure vanilla 157 and whenever configure.php is placed into admin\includes\local the following is dumped to the screen
It almost requires a conditional statement around the includes so if configure.php exists in includes\local\Code:Notice: Constant HTTP_SERVER already defined in vanilla\admin\includes\configure.php on line 17 Call Stack: 0.0001 384056 1. {main}() vanilla\admin\index.php:0 0.0001 384792 2. require_once('vanilla\admin\includes\application_bootstrap.php') vanilla\admin\index.php:5 0.0005 396232 3. include('vanilla\admin\includes\configure.php') vanilla\admin\includes\application_bootstrap.php:57 0.0005 396232 4. define() vanilla\admin\includes\configure.php:17 Notice: Constant HTTP_CATALOG_SERVER already defined in vanilla\admin\includes\configure.php on line 33 Call Stack: 0.0001 384056 1. {main}() vanilla\admin\index.php:0 0.0001 384792 2. require_once('vanilla\admin\includes\application_bootstrap.php') vanilla\admin\index.php:5 0.0005 396232 3.
it will not look for the other configure.php in \includes\
maybe related...
https://github.com/zencart/zencart/issues/3159
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Thank you.
Just to clarify to other users having the same issue.
Using torvista's linkto github will show a change by lat9 to move the strict reporting section in admin\includes\application_bootstrap.php to before the includes for local configuration parameters.Code:maybe related... https://github.com/zencart/zencart/issues/3159
This allows the local configure.php to be used in a test environment with normal caveats.
Bookmarks