Results 1 to 10 of 447

Hybrid View

  1. #1
    Join Date
    Apr 2019
    Posts
    350
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread] Solved on 2.1.0 upgrade install

    Quote Originally Posted by njcyx View Post
    Version: 2024-08-25 K11l. OPC 2.5.4

    Not sure if it is worthy to debug this plug-in now or not. Since last Friday, I started to receive the following warning. Like around 4 per day.

    PHP Code:
    [17-Feb-2025 08:48:59 America/New_YorkRequest URI: /index.php?main_page=checkout_oneIP addressxxxxLanguage id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/modules/shipping/usps.php(1616): simplexml_load_string()
    #2 /includes/modules/shipping/usps.php(483): usps->_getQuote()
    #3 /includes/classes/shipping.php(201): usps->quote()
    #4 /includes/modules/pages/checkout_one/header_php.php(220): shipping->quote()
    #5 /index.php(35): require('/home3/...')
    --> PHP Warningsimplexml_load_string(): Entityline 9parser error Opening and ending tag mismatchP line 6 and BODY in /includes/modules/shipping/usps.php on line 1616.

    [17-Feb-2025 08:48:59 America/New_YorkRequest URI: /index.php?main_page=checkout_oneIP addressxxxxLanguage id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/modules/shipping/usps.php(1616): simplexml_load_string()
    #2 /includes/modules/shipping/usps.php(483): usps->_getQuote()
    #3 /includes/classes/shipping.php(201): usps->quote()
    #4 /includes/modules/pages/checkout_one/header_php.php(220): shipping->quote()
    #5 /index.php(35): require('/home3/...')
    --> PHP Warningsimplexml_load_string(): </BODY></HTMLin /includes/modules/shipping/usps.php on line 1616.

    [17-Feb-2025 08:48:59 America/New_YorkRequest URI: /index.php?main_page=checkout_oneIP addressxxxxLanguage id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/modules/shipping/usps.php(1616): simplexml_load_string()
    #2 /includes/modules/shipping/usps.php(483): usps->_getQuote()
    #3 /includes/classes/shipping.php(201): usps->quote()
    #4 /includes/modules/pages/checkout_one/header_php.php(220): shipping->quote()
    #5 /index.php(35): require('/home3/...')
    --> PHP Warningsimplexml_load_string(): ^ in /includes/modules/shipping/usps.php on line 1616.

    [17-Feb-2025 08:48:59 America/New_YorkRequest URI: /index.php?main_page=checkout_oneIP addressxxxxLanguage id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/modules/shipping/usps.php(1616): simplexml_load_string()
    #2 /includes/modules/shipping/usps.php(483): usps->_getQuote()
    #3 /includes/classes/shipping.php(201): usps->quote()
    #4 /includes/modules/pages/checkout_one/header_php.php(220): shipping->quote()
    #5 /index.php(35): require('/home3/...')
    --> PHP Warningsimplexml_load_string(): Entityline 9parser error Opening and ending tag mismatchBODY line 3 and HTML in /includes/modules/shipping/usps.php on line 1616.

    [17-Feb-2025 08:48:59 America/New_YorkRequest URI: /index.php?main_page=checkout_oneIP addressxxxxLanguage id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/modules/shipping/usps.php(1616): simplexml_load_string()
    #2 /includes/modules/shipping/usps.php(483): usps->_getQuote()
    #3 /includes/classes/shipping.php(201): usps->quote()
    #4 /includes/modules/pages/checkout_one/header_php.php(220): shipping->quote()
    #5 /index.php(35): require('/home3/...')
    --> PHP Warningsimplexml_load_string(): </BODY></HTMLin /includes/modules/shipping/usps.php on line 1616.

    [17-Feb-2025 08:48:59 America/New_YorkRequest URI: /index.php?main_page=checkout_oneIP addressxxxxLanguage id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/modules/shipping/usps.php(1616): simplexml_load_string()
    #2 /includes/modules/shipping/usps.php(483): usps->_getQuote()
    #3 /includes/classes/shipping.php(201): usps->quote()
    #4 /includes/modules/pages/checkout_one/header_php.php(220): shipping->quote()
    #5 /index.php(35): require('/home3/...')
    --> PHP Warningsimplexml_load_string(): ^ in /includes/modules/shipping/usps.php on line 1616. 
    Line 1616 is the following.
    PHP Code:
    $body_array simplexml_load_string($body); 
    Line 483 is the following.
    PHP Code:
    $this->uspsQuote $this->_getQuote(); 
    No change for USPS code in the past several months. It is my first time to see this type of warning.
    I keep receiving this warning everyday since last Friday. I highly doubt USPS changed something on this API since last Friday.

    Temp fix. Add "error_reporting(0);" to the 2nd line of the code.

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

    Default Re: USPS Shipping Module [Support Thread] Solved on 2.1.0 upgrade install

    @njcyx, something changed! If you turn on USPS debug, the response received from USPS will be logged.

  3. #3
    Join Date
    Apr 2019
    Posts
    350
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread] Solved on 2.1.0 upgrade install

    Update. I turned on the USPS debug on this Tuesday, and I haven't received any warning after that!

    USPS maybe just corrected the bug on their side this Tuesday then. Anyway.

    Thanks.

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

    Default Re: USPS Shipping Module [Support Thread] Solved on 2.1.0 upgrade install

    Note that the USPS/RESTful shipping module has its own support-thread: https://www.zen-cart.com/showthread....ESTful)-(USPSr)

  5. #5
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: USPS Shipping Module [Support Thread] Solved on 2.1.0 upgrade install

    Quote Originally Posted by lat9 View Post
    Note that the USPS/RESTful shipping module has its own support-thread: https://www.zen-cart.com/showthread....ESTful)-(USPSr)
    Sorry about that maybe admin could move for us?
    • 446F63746F722057686F •

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

    Default Re: USPS Shipping Module [Support Thread] Solved on 2.1.0 upgrade install

    Quote Originally Posted by skipwater View Post
    Sorry about that maybe admin could move for us?
    Done ....

  7. #7
    Join Date
    Sep 2014
    Location
    Indiana
    Posts
    123
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread] - Zen_orders.shipping_method

    On our site, for any orders using this new USPS plug-in, the zen_orders table, field [shipping_method] is being left blank. As a result, it does not appear on the packing list anywhere. Having it on the pack list is helpful to our shipping folks.

    This new USPS Plug-in was installed as downloaded - no alternations by us.

    Was leaving this field blank a design choice? Is there a way to have that field populated with the USPS ship method?

    Thanks in advance. Click image for larger version. 

Name:	screenshot.jpg 
Views:	33 
Size:	36.5 KB 
ID:	21200

 

 

Similar Threads

  1. Optional Shipping Insurance Module [Support Thread]
    By jettrue in forum Addon Shipping Modules
    Replies: 415
    Last Post: 6 Jul 2026, 02:45 PM
  2. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2246
    Last Post: 29 Dec 2025, 10:13 AM
  3. Replies: 29
    Last Post: 24 Sep 2014, 09:59 PM
  4. Replies: 335
    Last Post: 1 Aug 2013, 08:54 PM
  5. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

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