Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2016
    Location
    Vancouver, BC
    Posts
    1
    Plugin Contributions
    0

    Default UPSXML error: Rating and Service 1.0001 0 unknown

    Hi everyone!

    I have done some extensive searching, this forum and related support forums (including other ecommerce platforms) and I have not been able to solve this issue.

    On check out we are getting the following (regarding UPS xml plugin):

    "Rating and Service 1.0001 0 An unknown error occured while attempting to contact the UPS gateway : Rating and Service 1.0001 0 An unknown error occured while attempting to contact the UPS gateway"

    I have uncommented the following line (as suggested across both zendesk, oscommerce and other forums) in the ups xml file:
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

    The error still occurs.

    Here is some information regarding our installation:

    Zen Cart 1.3.8a
    Database Patch Level: 1.3.8
    PHP Version 5.2.17
    Linux 3.12.41-77.ELK6.x86_64


    thank you in advance for any tips or suggestions.

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

    Default Re: UPS plugin error on checkout

    Actually, I'm surprised that anything is working or that you haven't become victim to a version so old that none of the mods can be expected to work or support it.
    Nine years is a LONG time in the software world. PHP is now to version 7.0 Linux Kernel is at 3.15.5 Zen Cart is now 1.5.5a and a LOT different than the 2007 model.
    I am shocked that your host is running software so old.
    Unfortunately, you have little options beyond upgrade and I'm not sure that any of the newer shipping mods will work with that version of PHP. Zen Cart 1.5.5a will run for upgrade BUT, you would need to upgrade the server before adding mods as they may not work with 5.2.17.
    Sorry I don't have a better solution for you.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: UPSXML error: Rating and Service 1.0001 0 unknown

    The message suggests that CURL is failing.

    The module appears to have some built-in logging capability if you enable it in the PHP file. At line 91 you'll see instructions, and then need to uncomment (remove the // from the beginning of) line 92:

    Code:
    91:        // to enable logging, create an empty "upsxml.log" file at the location you set below, give it write permissions (777) and uncomment the next line
    92:        // $this->logfile = DIR_FS_CATALOG . 'includes/modules/shipping/upsxml.log';
    Then you can see what errors are occurring by viewing that log file after triggering the error.


    I recommend also installing this plugin to help diagnose other PHP errors which are likely rampant on your site due to PHP compatibility issues from using old software on newer PHP versions: https://www.zen-cart.com/downloads.php?do=file&id=606
    .

    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.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 4 Dec 2009, 06:04 PM
  2. Weird error in UPSXML module
    By 0be1 in forum Addon Shipping Modules
    Replies: 2
    Last Post: 28 Mar 2008, 05:18 PM
  3. I need help with UPSXML Error
    By sbitar in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 12 Jul 2007, 11:34 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