Results 1 to 10 of 1920

Threaded View

  1. #11
    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.

 

 

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