Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    203
    Plugin Contributions
    0

    Default Use of undefined constant OFFICE_IP_TO_HOST_ADDRESS

    I seem to be getting this mydebug log a lot after upgrading. Any idea how to fix it ?

    [09-Apr-2020 16:33:17 America/Los_Angeles] Request URI: /, IP address: 216.245.221.83
    #1 require(/home/user/domainfolder/includes/init_includes/init_sessions.php) called at [/home/user/domainfolder/includes/autoload_func.php:48]
    #2 require(/home/user/domainfolder/includes/autoload_func.php) called at [/home/user/domainfolder/includes/application_top.php:170]
    #3 require(/home/user/domainfolder/includes/application_top.php) called at [/home/user/domainfolder/index.php:26]
    --> PHP Warning: Use of undefined constant OFFICE_IP_TO_HOST_ADDRESS - assumed 'OFFICE_IP_TO_HOST_ADDRESS' (this will throw an Error in a future version of PHP) in /home/user/domainfolder/includes/init_includes/init_sessions.php on line 112.

    I am using php 7.3
    sitemapXML 3.9.6
    creon URI 5.0
    Structured Data
    Zen lightbox 1.7.0
    news box manger 2.2.1
    Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com

  2. #2
    Join Date
    Jan 2004
    Posts
    65,400
    Blog Entries
    7
    Plugin Contributions
    232

    Default Re: Get a lot of these mydebug logs after upgrading from 1.5.5f to 1.5.6

    You can make the change shown here:
    https://github.com/zencart/zencart/c...3d6f0d39e81bf8
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,643
    Plugin Contributions
    73

    Default Re: Get a lot of these mydebug logs after upgrading from 1.5.5f to 1.5.6

    ... and update your News Box Manager to v3: https://www.zen-cart.com/showthread.php?226052

  4. #4
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    203
    Plugin Contributions
    0

    Default Re: Get a lot of these mydebug logs after upgrading from 1.5.5f to 1.5.6

    Quote Originally Posted by lat9 View Post
    ... and update your News Box Manager to v3: https://www.zen-cart.com/showthread.php?226052
    Doh! thanks for that. I actually didn't know there was a newer version. Updated.

    Quote Originally Posted by DrByte View Post
    You can make the change shown here:
    https://github.com/zencart/zencart/c...3d6f0d39e81bf8
    That fixed it right up ! Thank you DrByte !
    Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com

 

 

Similar Threads

  1. Replies: 14
    Last Post: 7 Jan 2020, 08:21 PM
  2. v156 PHP Warning Use of undefined constant
    By ianhg in forum General Questions
    Replies: 6
    Last Post: 10 Oct 2019, 12:19 PM
  3. v156 Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_AIM_CURRENCY
    By RixStix in forum Upgrading to 1.5.x
    Replies: 12
    Last Post: 9 Jan 2019, 09:39 PM
  4. Notice: Use of undefined constant
    By infocom in forum General Questions
    Replies: 2
    Last Post: 22 Apr 2010, 08:35 PM
  5. Undefined Notice: Use of undefined constant
    By TheOracle in forum Bug Reports
    Replies: 0
    Last Post: 6 May 2007, 06:33 PM

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