Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    95
    Plugin Contributions
    0

    Default admin\includes\local\configure.php overide - does this still work?

    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

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,934
    Plugin Contributions
    75

    Default Re: v157 admin\includes\local\configure.php overide - does this still work?

    Quote Originally Posted by OldNGrey View Post
    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
    Still working for me!

  3. #3
    Join Date
    Jul 2012
    Posts
    15,368
    Plugin Contributions
    17

    Default Re: v157 admin\includes\local\configure.php overide - does this still work?

    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...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  4. #4
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    95
    Plugin Contributions
    0

    Default Re: v157 admin\includes\local\configure.php overide - does this still work?

    Interesting.
    created another pure vanilla 157 and whenever configure.php is placed into admin\includes\local the following is dumped to the screen

    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 almost requires a conditional statement around the includes so if configure.php exists in includes\local\
    it will not look for the other configure.php in \includes\

  5. #5
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,167
    Plugin Contributions
    29

    Default Re: v157 admin\includes\local\configure.php overide - does this still work?

    Steve
    github.com/torvista: Spanish Language Pack, Image Checker, Structured Data, BackupMySQL Admin/Auto, Product Listing Sorter, Redsys payment module...

  6. #6
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    95
    Plugin Contributions
    0

    Default Re: v157 admin\includes\local\configure.php overide - does this still work?

    Thank you.

    Just to clarify to other users having the same issue.
    Using torvista's link
    Code:
    maybe related...
    https://github.com/zencart/zencart/issues/3159
    to 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.
    This allows the local configure.php to be used in a test environment with normal caveats.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 15 Jan 2018, 12:41 AM
  2. Replies: 0
    Last Post: 19 May 2013, 08:47 PM
  3. /admin/includes/configure.php does not exist more info...
    By oavs in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 14 Feb 2013, 12:06 AM
  4. v139h fix_cache_key.php and /includes/local/configure.php
    By torvista in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Jan 2012, 08:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR