Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    May 2011
    Posts
    9
    Plugin Contributions
    0

    application error USPS Module upgrade not working on our site

    Hello,

    We are expericing a problem with the latest USPS module upgrade. We have been using Zen Cart for 5 years and have installed several of these rate upgrades without any problems in the past, but this one is not working for us.


    The debug screen gives this information:

    -2147219085Rate_Respond.;SOLServerRates.RateV4_RespondInvalid XML Element content is incomplete according to the DTD/Schema.
    line= 0 pos= 17551000440



    View Source:
    USPS build: 2013-07-28 Server: production Quote Request Rate Type: Online USPS Options (weight, time): Display weight USPS Domestic Transit Time Calculation Mode: OLD Cart Weight: 0.0045 Maximum: 50 Tare Rates: Small/Medium: 0:0.03 Large: 10:0 Handling method: Order Handling fee Domestic: $4.00 Handling fee Domestic: $5.00 Decimals: 2 Total Weight: 0.0345 Pounds: 0 Ounces: 1 Length: 8.625 Width: 5.375 Height: 1.625 ZipOrigination: 19124 ZipDestination: 19124 City: philadelphia State: Pennsylvania Order Total: $5.40 RESPONSE FROM USPS: ================================== -2147219085Rate_Respond.;SOLServerRates.RateV4_Respond Invalid XML Element content is incomplete according to the DTD/Schema. line= 0 pos= 17551000440


    We are running 1.38a, HTTP Server: Apache/2.2.3 (CentOS), PHP Version: 5.1.6 (Zend: 2.1.0) PHP Memory Limit: 32M, Database: MySQL 5.0.45.

    We just want to use USPS first class package and USPS Priority for International shipping. We use a the zone shipping module for our domestic shipping.

    Here are my settings ( I omitted my web tools user ID from this post, but it is valid)

    USPS Version Date
    2013-07-28

    Enable USPS Shipping
    True

    Enter the USPS Web Tools User ID
    ------------

    Which server to use
    production

    Quote Sort Order
    Price-LowToHigh

    Handling Fee - US
    4

    Handling Fee - International
    5

    Handling Per Order or Per Box
    Order

    Decimal Settings
    2

    Tax Class
    --none--

    Tax Basis
    Shipping

    Shipping Zone
    --none--

    Sort Order
    0

    All Packages are Machinable?
    False

    USPS Options
    Display weight

    USPS Domestic Transit Time Calculation Mode
    OLD

    USPS minimum Length
    8.625

    USPS minimum Width
    5.375

    USPS minimum Height
    1.625

    Enable USPS First-Class filter for US shipping
    False

    Shipping Methods (Domestic and International)
    0, .21875, 0.00, 0, .8125, 0.00, 0, .8125, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 15, 0.00, 0, 20, 0.00, 0, 25, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, .21875, 0.00, 0, 4, 0.00, First-Class Package International ServiceTM**, 0, 4, 0.00, Priority Mail InternationalRM, 0, 66, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 20, 0.00, 0, 66, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 70, 0.00, 0, 70, 0.00

    Extra Services (Domestic)
    Certified MailRM, N, USPS TrackingTM, N, Insurance, N, Adult Signature Restricted Delivery, N, Registered without Insurance, N, Registered MailTM, N, Collect on Delivery, N, Return Receipt for Merchandise, N, Return Receipt, N, Certificate of Mailing, N, Priority Mail Express Insurance, N, Delivery ConfirmationTM, N, Signature ConfirmationTM, N

    Extra Services (International)
    Registered Mail, N, Insurance, N, Return Receipt, N, Electronic USPS Delivery Confirmation International, Y, Certificate of Mailing, N

    Retail pricing or Online pricing?
    Online

    Debug Mode
    Screen
    We have turned off the module until we can get this resolved because it prevents anyone from checking out using our other shipping methods. Any help would be greatly appreciated.




    Regards,

    Larry

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Module upgrade not working on our site

    Could you switch the Debug to Logs ... then try a quote on the checkout_shipping and then look in your directory /cache and Zip the current (most recent) debug logs that start with:
    myDEBUG-
    SHIP_usps_Debug_

    and post the Zip here as an attachment ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: USPS Module upgrade not working on our site

    Quote Originally Posted by bachmannstore View Post
    We are running 1.38a, HTTP Server: Apache/2.2.3 (CentOS), PHP Version: 5.1.6 (Zend: 2.1.0) PHP Memory Limit: 32M, Database: MySQL 5.0.45.
    You probably don't want to hear this but.... Everything you are running on this server is old and subject to hacking, takeover, or worse.

    Also, this might be part of your upgrade problem. Ajeh can better tell you if any code in the new USPS is invalid with these old server settings.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    May 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: USPS Module upgrade not working on our site

    dbltoe,

    Thanks. We are planning an upgrade, but we are tesing another copy to make sure everthing works before we implement it.

    Larry

  5. #5
    Join Date
    May 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: USPS Module upgrade not working on our site

    Ajeh,

    Here is the log file. When I use this setting, the screen goes completely white and locks up.

    Regards,

    Larry
    Attached Files Attached Files

  6. #6
    Join Date
    May 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: USPS Module upgrade not working on our site

    Ajeh,

    This file may be more useful. I kept the module active for a little while to gather more information.

    Regards,

    Larry
    Attached Files Attached Files

  7. #7
    Join Date
    May 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: USPS Module upgrade not working on our site

    Ajeh,

    We are working on an 1.39h upgrade. (We don't want the required password changes of 1.5.) We have to upgrade our server programs to meet the minimum requirements. Will upgrading to 1.39h solve our problem with this module?

    Thanks,

    Larry

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Module upgrade not working on our site

    In your v1.3.8a, there is a file:
    /extras/curltest.php

    Could you run that file:
    your_domain.com/your_subdirectory_if_any/extras/curltest.php

    and see what comes up?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    May 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: USPS Module upgrade not working on our site

    Ajeh,

    Here is what the browser returned:
    28 connect() timed out!

    Array
    (
    [url] => "http://www.zen-cart.com/testcurl.php"
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0
    [namelookup_time] => 0.025689
    [connect_time] => 0
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
    )


    Regards,

    Larry

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Module upgrade not working on our site

    That sounds to me like CURL is not working on your site for v1.3.8a and that means ... you are doomed ...

    If you run the same file on your v1.3.9h, do you get different results?

    NOTE: on the failed CURL for your v1.3.8a, if that is what the issue is about, you need your Hosting provider to fix your site so that you can use CURL ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h USPS new module not working on our Website
    By Dr776 in forum Addon Shipping Modules
    Replies: 2
    Last Post: 8 Nov 2013, 03:04 AM
  2. v151 USPS Module not producing estimates; UPS working; Production mode on & USPS verified
    By gingertea in forum Built-in Shipping and Payment Modules
    Replies: 15
    Last Post: 21 May 2013, 03:25 AM
  3. USPS Module not working
    By vintagenyc in forum Addon Shipping Modules
    Replies: 5
    Last Post: 30 Aug 2011, 05:38 AM
  4. usps module not working
    By slater555 in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 22 Mar 2011, 06:08 PM
  5. USPS shipping module not working after upgrade
    By bobage24 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 14 Nov 2006, 06:04 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