Results 1 to 10 of 246

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Location
    near Atlanta Georgia
    Posts
    216
    Plugin Contributions
    0

    Default Re: UPS XML: Support Thread

    @Lat9,
    I am having an issue with UPSXML 1.8.1. Have a clean v158 installed. Being as I backed up the live db and imported that data into the new db I belive it has UPSXML 1.7.9 info in it from 157. Not sure if that is creating a problem or not but when I log in to the admin after uploading the 1.8.1 files to the includes directory there is no UPSXML under Modules > Shipping. To be clear the 1.7.9 is not installed in 158. Have multiple instances of this same log file (redacted for security)

    PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_UPSXML_SHIPPER_NUMBER" in /includes/modules/shipping/upsxml.php:143
    Stack trace:
    #0 /*******/modules.php(187): upsxml->__construct()
    #1 /*******/index.php(11): require('/home/*mysite*/...')
    #2 {main}
    thrown in /includes/modules/shipping/upsxml.php on line 143

    Request URI: /****/*******/index.php?cmd=modules&set=shipping, IP address: 68.222.21.190
    --> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_UPSXML_SHIPPER_NUMBER" in /includes/modules/shipping/upsxml.php:143
    Stack trace:
    #0 /*******/modules.php(187): upsxml->__construct()
    #1 /*******/index.php(11): require('/home/*mysite*/...')
    #2 {main}
    thrown in /includes/modules/shipping/upsxml.php on line 143.

    Thanks,
    John
    Best,
    Goldbuckle

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: UPS XML: Support Thread

    Installed UPSXML 1.8.1 into Zen Cart 1.5.8 under PHP 8.1, looks fine, no trouble found.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    That constant (MODULE_SHIPPING_UPSXML_SHIPPER_NUMBER) has been part of the UPS-XML since at least v1.7.7.

    My only suggestion is to enter the following in the admin's "Install SQL Patches" tool

    DELETE FROM configuration WHERE configuration_key LIKE 'MODULE_SHIPPING_UPSXML_%';

    That will remove all configuration elements for the UPS-XML shipping module (you'll have to re-enter all the settings).


  4. #4
    Join Date
    Dec 2006
    Location
    near Atlanta Georgia
    Posts
    216
    Plugin Contributions
    0

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by lat9 View Post
    That constant (MODULE_SHIPPING_UPSXML_SHIPPER_NUMBER) has been part of the UPS-XML since at least v1.7.7.

    My only suggestion is to enter the following in the admin's "Install SQL Patches" tool

    DELETE FROM configuration WHERE configuration_key LIKE 'MODULE_SHIPPING_UPSXML_%';

    That will remove all configuration elements for the UPS-XML shipping module (you'll have to re-enter all the settings).

    Just ran the patch and now it is showing up in the shipping options.

    Thank you!

    john
    Best,
    Goldbuckle

  5. #5
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    618
    Plugin Contributions
    0

    Default UPS XML causing errors in Shipstation

    We're running ZC 1.57d, and the UPS shipping module was working correctly. But it also displayed the red message that there was a new version. So I installed the new version and now Shipstation is unable to write the shipping info (date, shipping service and tracking number) back to the customer's order record. The error we're getting from Shipstation is "An error occurred attempting to update orders: Invalid XML. Error: 'Unexpected end of file has occurred. The following elements are not closed: Orders. Line 3, position 1.' We received: '<?xml version="1.0" encoding="utf-16"?> <Orders> '

    There was nothing in our logs about the problem, so it's not causing an issue in Zencart itself.

    At this point, we have to go into every order manually and add the shipping info, so my shipping people are understandably giving me a very hard time.

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

    Default Re: UPS XML causing errors in Shipstation

    Quote Originally Posted by HeleneWallis View Post
    We're running ZC 1.57d, and the UPS shipping module was working correctly. But it also displayed the red message that there was a new version. So I installed the new version and now Shipstation is unable to write the shipping info (date, shipping service and tracking number) back to the customer's order record. The error we're getting from Shipstation is "An error occurred attempting to update orders: Invalid XML. Error: 'Unexpected end of file has occurred. The following elements are not closed: Orders. Line 3, position 1.' We received: '<?xml version="1.0" encoding="utf-16"?> <Orders> '

    There was nothing in our logs about the problem, so it's not causing an issue in Zencart itself.

    At this point, we have to go into every order manually and add the shipping info, so my shipping people are understandably giving me a very hard time.
    Could you turn on the UPSXML debug and send me a copy of the file? I'll PM you my direct email address.

  7. #7
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    618
    Plugin Contributions
    0

    Default Re: UPS XML causing errors in Shipstation

    Quote Originally Posted by lat9 View Post
    Could you turn on the UPSXML debug and send me a copy of the file? I'll PM you my direct email address.
    Welp, the problem turned out to be something entirely different. What the shipping folk said to me was completely the opposite of what was actually happening. I had installed the latest Shipstation module that I downloaded from Shipstation itself, not realizing that it was only for 1.5.8. So Shipstation was failing to import orders from Zencart, not failing to update the Zencart orders with the shipment info--tracking number, etc. When I realized what had happened and reinstalled the older version of Shipstation's interface, it all worked fine.

    But I do still have a question about UPS XML. UPS has a class called UPS Ground Saver, and I don't see any way to enable that in Zencart. It's available through Shipstation, so we can take advantage of it, but I'd like to be able to offer it to our customers as well. Is there any way to include that in the plugin?

 

 

Similar Threads

  1. UPS discounted rates not showing in UPS XML
    By cspan27 in forum Addon Shipping Modules
    Replies: 51
    Last Post: 27 Jun 2016, 03:52 PM
  2. v151 Ty UPS WorldShip Support Thread
    By colosports in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Jun 2014, 12:05 AM
  3. UPS XML Stopped Communicating with UPS... HELP!
    By rconway28 in forum Addon Shipping Modules
    Replies: 28
    Last Post: 23 Nov 2011, 03:31 PM
  4. UPS Shipping - not working (UPS-XML addon)
    By breck in forum Addon Shipping Modules
    Replies: 30
    Last Post: 20 Aug 2010, 03:24 AM
  5. UPS/UPS XML Future Day Pick-up
    By fred_hf in forum Addon Shipping Modules
    Replies: 0
    Last Post: 21 Dec 2009, 07:59 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