Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2013
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default USPS module suddenly giving error and blank page on checkout

    The problem started with a blank page on checkout. I narrowed it down to the USPS module.

    The store owner says they changed nothing recently. The problem began on November 9.

    The store uses Zen Cart v1.3.9h and has not been upgraded. It has some modifications in design, but no modifications to the shipping modules.

    The store was originally installed about two years ago (?) via FTP/zc_install and has been working ok since then.

    We're running PHP version 5.2.9 and MySQL version 5.0.96

    The error I'm getting is:
    Code:
    [11-Nov-2013 16:01:31] PHP Warning:  simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 1: parser error : Start tag expected, '&lt;' not found in /home/store/public_html/includes/modules/shipping/usps.php on line 909
    [11-Nov-2013 16:01:31] PHP Warning:  simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: 27 in /home/store/public_html/includes/modules/shipping/usps.php on line 909
    [11-Nov-2013 16:01:31] PHP Warning:  simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/store/public_html/includes/modules/shipping/usps.php on line 909
    [11-Nov-2013 16:01:31] PHP Fatal error:  Call to a member function getName() on a non-object in /home/store/public_html/includes/modules/shipping/usps.php on line 915
    Any help would be appreciated. I've searched extensively for the answer and am not seeing anything. I've tried updating the module to the latest version and get the same error, just slightly different line numbers. I uninstalled and reinstalled the module.

    The store is at http://store.vapeny.com. The module is currently disabled.

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: USPS module suddenly giving error and blank page on checkout

    Zencart's USPS Module changed July 28, 2013 are you using that version?

  3. #3
    Join Date
    Nov 2013
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default Re: USPS module suddenly giving error and blank page on checkout

    Quote Originally Posted by bislewl View Post
    Zencart's USPS Module changed July 28, 2013 are you using that version?
    I did update to the latest version of the USPS module, but am getting the same error as I did with the old version. The only difference being the line number where the error occurs. Nothing else was changed. I have never updated Zencart because my customizations are not broken out from the main files. Stuff I learned how to do after the fact.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: USPS module suddenly giving error and blank page on checkout

    Quote Originally Posted by sharon1175 View Post
    The problem started with a blank page on checkout. I narrowed it down to the USPS module.

    The store owner says they changed nothing recently. The problem began on November 9.

    The store uses Zen Cart v1.3.9h and has not been upgraded. It has some modifications in design, but no modifications to the shipping modules.

    The store was originally installed about two years ago (?) via FTP/zc_install and has been working ok since then.

    We're running PHP version 5.2.9 and MySQL version 5.0.96

    The error I'm getting is:
    Code:
    [11-Nov-2013 16:01:31] PHP Warning:  simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 1: parser error : Start tag expected, '&lt;' not found in /home/store/public_html/includes/modules/shipping/usps.php on line 909
    [11-Nov-2013 16:01:31] PHP Warning:  simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: 27 in /home/store/public_html/includes/modules/shipping/usps.php on line 909
    [11-Nov-2013 16:01:31] PHP Warning:  simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/store/public_html/includes/modules/shipping/usps.php on line 909
    [11-Nov-2013 16:01:31] PHP Fatal error:  Call to a member function getName() on a non-object in /home/store/public_html/includes/modules/shipping/usps.php on line 915
    Any help would be appreciated. I've searched extensively for the answer and am not seeing anything. I've tried updating the module to the latest version and get the same error, just slightly different line numbers. I uninstalled and reinstalled the module.

    The store is at http://store.vapeny.com. The module is currently disabled.
    Quote Originally Posted by sharon1175 View Post
    I did update to the latest version of the USPS module, but am getting the same error as I did with the old version. The only difference being the line number where the error occurs. Nothing else was changed. I have never updated Zencart because my customizations are not broken out from the main files. Stuff I learned how to do after the fact.
    As far as testing after upload, you cleared cookies/cache before testing again or used a computer/device that had not been to the site in a long while? Saw someone else have the same error message (different warnings) that began Nov 8th, they were using an older version of USPS, but when updated resolved issue. :/ hmmm
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Nov 2013
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default Re: USPS module suddenly giving error and blank page on checkout

    Quote Originally Posted by mc12345678 View Post
    As far as testing after upload, you cleared cookies/cache before testing again or used a computer/device that had not been to the site in a long while? Saw someone else have the same error message (different warnings) that began Nov 8th, they were using an older version of USPS, but when updated resolved issue. :/ hmmm
    Using a completely different computer that has never visited the site yields the same results. Blank screen on checkout if USPS is enabled.

  6. #6
    Join Date
    Nov 2013
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default Re: USPS module suddenly giving error and blank page on checkout

    Ok, I made some progress.

    I went back to where I downloaded the "Latest Version."

    I went down into a lower post on that page to find the one dated 7/28 and downloaded it instead. That one works, though it's throwing a Package Dimensions Config error. At least it works! Thank you for the guidance!

 

 

Similar Threads

  1. USPS module suddenly not giving correct insurance rates?
    By janosik1 in forum Addon Shipping Modules
    Replies: 21
    Last Post: 18 Mar 2014, 04:24 PM
  2. USPS module suddenly not giving quotes?
    By SPembleton in forum Addon Shipping Modules
    Replies: 45
    Last Post: 14 Feb 2014, 03:11 AM
  3. usps module suddenly giving an error
    By stantdesign in forum Addon Shipping Modules
    Replies: 32
    Last Post: 6 Jun 2012, 04:19 AM
  4. USPS module not working properly and Authorize.net SIM giving error
    By aikisho in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Jul 2010, 12:44 AM
  5. USPS Shipping Module giving a blank page...
    By pruce in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 28 Sep 2009, 06:48 PM

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