Results 1 to 10 of 1920

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by wsworx View Post
    How is it that they are showing up in the My Store menu though?
    Click image for larger version. 

Name:	Code Issue.jpg 
Views:	35 
Size:	9.5 KB 
ID:	19636
    Quote Originally Posted by carlwhat View Post
    https://github.com/zencart/zencart/b...ql#L2350-L2351

    it looks like you have a bad install of ZC 157c...
    I'm agreeing with @carlwhat here. @wsworx, within your admin, append the following to the admin's base URL:

    /index.php?cmd=configuration&gID=6

    ... which will bring up the 'hidden' modules settings. Be very, very careful since some of those changes are programmatic!

    Find the setting Admin configuration_key shows and change its value to 1. Then head back to Configuration :: My Store and select the Display Product with Tax setting.

    What configuration key is identified?

  2. #2
    Join Date
    Jun 2012
    Location
    California
    Posts
    259
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by lat9 View Post
    I'm agreeing with @carlwhat here. @wsworx, within your admin, append the following to the admin's base URL:

    /index.php?cmd=configuration&gID=6

    ... which will bring up the 'hidden' modules settings. Be very, very careful since some of those changes are programmatic!

    Find the setting Admin configuration_key shows and change its value to 1. Then head back to Configuration :: My Store and select the Display Product with Tax setting.

    What configuration key is identified?
    Configuration :: My Store and select the Display Product with Tax doesn't exist

    Did you mean Configuration :: My Store and select the Display Price with Tax

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by lat9 View Post

    Find the setting Admin configuration_key shows and change its value to 1. Then head back to Configuration :: My Store and select the Display Product with Tax setting.
    oh my, that explains my confusion!

    you learn something new every day!

    thanks @lat9.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by carlwhat View Post
    oh my, that explains my confusion!

    you learn something new every day!

    thanks @lat9.
    That's what life's about!

  5. #5
    Join Date
    Jun 2012
    Location
    California
    Posts
    259
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    So after I cleared my head and thought more through it I went back through my configuration table and I found that I do have these configuration keys in the configuration table of the database. When I attempt to access a customer in Customers:Orders:Edit Orders I get a blank screen and below is the only log file I get. It is titled as a warning not an actual error "myDEBUG-adm-20210618-093749-913692-warning.log". I can change the settings for the two in Configuration:My Store and the database will reflect that change so they are working correctly.

    Any ideas or thoughts would be greatly appreciated?

    I tried doing a new installation and copying my data over to the new tables but I can't resolve a MYSql error about there being duplicate records in the addressbook table for the customerid primary key.

    [18-Jun-2021 09:37:49 America/Boise] Request URI: /ADMIN/index.php?cmd=edit_orders&oID=7929&action=edit, IP address: ***.***.***.***
    #1 require(/home2/*****/public_html/ADMIN/edit_orders.php) called at [/home2/*****/public_html/ADMIN/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX_ADMIN - assumed 'DISPLAY_PRICE_WITH_TAX_ADMIN' (this will throw an Error in a future version of PHP) in /home2/*****/public_html/ADMIN/edit_orders.php on line 79.

    [18-Jun-2021 09:37:49 America/Boise] Request URI: /ADMIN/index.php?cmd=edit_orders&oID=7929&action=edit, IP address: ***.***.***.***
    #1 require(/home2/*****/public_html/ADMIN/edit_orders.php) called at [/home2/*****/public_html/ADMIN/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX - assumed 'DISPLAY_PRICE_WITH_TAX' (this will throw an Error in a future version of PHP) in /home2/*****/public_html/ADMIN/edit_orders.php on line 79.

  6. #6
    Join Date
    Jun 2012
    Location
    California
    Posts
    259
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by wsworx View Post
    So after I cleared my head and thought more through it I went back through my configuration table and I found that I do have these configuration keys in the configuration table of the database. When I attempt to access a customer in Customers:Orders:Edit Orders I get a blank screen and below is the only log file I get. It is titled as a warning not an actual error "myDEBUG-adm-20210618-093749-913692-warning.log". I can change the settings for the two in Configuration:My Store and the database will reflect that change so they are working correctly.

    Any ideas or thoughts would be greatly appreciated?

    I tried doing a new installation and copying my data over to the new tables but I can't resolve a MYSql error about there being duplicate records in the addressbook table for the customerid primary key.

    [18-Jun-2021 09:37:49 America/Boise] Request URI: /ADMIN/index.php?cmd=edit_orders&oID=7929&action=edit, IP address: ***.***.***.***
    #1 require(/home2/*****/public_html/ADMIN/edit_orders.php) called at [/home2/*****/public_html/ADMIN/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX_ADMIN - assumed 'DISPLAY_PRICE_WITH_TAX_ADMIN' (this will throw an Error in a future version of PHP) in /home2/*****/public_html/ADMIN/edit_orders.php on line 79.

    [18-Jun-2021 09:37:49 America/Boise] Request URI: /ADMIN/index.php?cmd=edit_orders&oID=7929&action=edit, IP address: ***.***.***.***
    #1 require(/home2/*****/public_html/ADMIN/edit_orders.php) called at [/home2/*****/public_html/ADMIN/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX - assumed 'DISPLAY_PRICE_WITH_TAX' (this will throw an Error in a future version of PHP) in /home2/*****/public_html/ADMIN/edit_orders.php on line 79.
    I am really confused with these two constants. If they are constants don't they have to be declared somewhere, I would think in a language file but, and if they are what file is it that they are declared in because I have looked and looked and cannot find it. And what really whacks me out is they are used in a bunch of other places and none of that code is having issues....lol.
    The other thing I notice is everywhere else it is coded like this which I understand:

    if (DISPLAY_PRICE_WITH_TAX == 'true')

    but in the Admin/editorders.php file it is coded like this in the define statement:

    (DISPLAY_PRICE_WITH_TAX_ADMIN != 'true' ? 'out ' : ' ')
    Last edited by wsworx; 18 Jun 2021 at 06:24 PM.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by wsworx View Post
    I am really confused with these two constants. If they are constants don't they have to be declared somewhere, I would think in a language file but, and if they are what file is it that they are declared in because I have looked and looked and cannot find it. And what really whacks me out is they are used in a bunch of other places and none of that code is having issues....lol.
    Each of the configuration_key values present in the configuration table in the database are present both admin/storefront as constants of the same name.

  8. #8
    Join Date
    Jun 2012
    Location
    California
    Posts
    259
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by lat9 View Post
    Each of the configuration_key values present in the configuration table in the database are present both admin/storefront as constants of the same name.
    But how and where are they defined?
    Only in the database?

 

 

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 818
    Last Post: 9 Jul 2026, 10:12 AM
  2. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  3. Edit Orders v3.0 for ZC 1.3.9 [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 656
    Last Post: 18 Apr 2016, 06:28 PM
  4. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  5. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM

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