Thread: Error Log

Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    611
    Plugin Contributions
    0

    Default Error Log

    Hi All,

    I have another error log showing up and just need guidance on how to correct it please.

    This is the message:
    [23-Mar-2025 12:56:53 Australia/Sydney] PHP Fatal error: Uncaught Error: Undefined constant "TEXT_MISSING_SHIPPING_INFO" in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php:251
    Stack trace:
    #0 /includes/templates/bootstrap/templates/tpl_checkout_success_default.php(97): require()
    #1 /includes/modules/pages/checkout_success/main_template_vars.php(15): require('/home/XXXX')
    #2 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/XXXX')
    #3 /index.php(94): require('/home/XXXX')
    #4 {main}
    thrown in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php on line 251

    [23-Mar-2025 12:56:53 Australia/Sydney] Request URI: /index.php?main_page=checkout_success, IP address: 116.255.16.38
    --> PHP Fatal error: Uncaught Error: Undefined constant "TEXT_MISSING_SHIPPING_INFO" in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php:251
    Stack trace:
    #0 /includes/templates/bootstrap/templates/tpl_checkout_success_default.php(97): require()
    #1 /includes/modules/pages/checkout_success/main_template_vars.php(15): require('/home/XXXX')
    #2 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/XXXX')
    #3 /index.php(94): require('/home/XXXX')
    #4 {main}
    thrown in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php on line 251.

    Any assistance on what to do would be appreciated.
    Last edited by Bruce1952; 23 Mar 2025 at 02:43 PM.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: Error Log

    Please remember to include current ZC and mod versions. This is based on 2.1.0 with the latest bootstrap.

    You should have includes/languages/english/bootstrap/lang.account_history_info.php.

    Line 9 of the latest version should have
    Code:
    'TEXT_MISSING_SHIPPING_INFO' => 'WARNING: missing shipping details',
    Last edited by dbltoe; 25 Mar 2025 at 05:18 PM.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,341
    Plugin Contributions
    94

    Default Re: Error Log

    Quote Originally Posted by Bruce1952 View Post
    Hi All,

    I have another error log showing up and just need guidance on how to correct it please.

    This is the message:
    [23-Mar-2025 12:56:53 Australia/Sydney] PHP Fatal error: Uncaught Error: Undefined constant "TEXT_MISSING_SHIPPING_INFO" in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php:251
    Stack trace:
    #0 /includes/templates/bootstrap/templates/tpl_checkout_success_default.php(97): require()
    #1 /includes/modules/pages/checkout_success/main_template_vars.php(15): require('/home/XXXX')
    #2 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/XXXX')
    #3 /index.php(94): require('/home/XXXX')
    #4 {main}
    thrown in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php on line 251

    [23-Mar-2025 12:56:53 Australia/Sydney] Request URI: /index.php?main_page=checkout_success, IP address: 116.255.16.38
    --> PHP Fatal error: Uncaught Error: Undefined constant "TEXT_MISSING_SHIPPING_INFO" in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php:251
    Stack trace:
    #0 /includes/templates/bootstrap/templates/tpl_checkout_success_default.php(97): require()
    #1 /includes/modules/pages/checkout_success/main_template_vars.php(15): require('/home/XXXX')
    #2 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/XXXX')
    #3 /index.php(94): require('/home/XXXX')
    #4 {main}
    thrown in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php on line 251.

    Any assistance on what to do would be appreciated.
    Yep, that's a bug in the Zen Cart base (including zc210) as there's no easy way of creating an order that doesn't have a shipping method (you need to check that separately).

    GitHub issue created for tracking: https://github.com/zencart/zencart/issues/7036

 

 

Similar Threads

  1. v151 paypal error log and mutilple error email help please
    By tropical in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 27 May 2020, 03:36 PM
  2. Replies: 5
    Last Post: 15 Mar 2017, 03:52 AM
  3. Site down, getting error in debug error log
    By rcrosier in forum General Questions
    Replies: 3
    Last Post: 25 Mar 2009, 03:01 PM
  4. Replies: 6
    Last Post: 7 Dec 2007, 03:42 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