Forums / Addon Shipping Modules / USPS module suddenly giving error and blank page on checkout

USPS module suddenly giving error and blank page on checkout

Locked

Started by sharon1175 on 12 Nov 2013, 3:23 PM · Views: 3,695

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 Nov 2013, 3:23 PM
#1
sharon1175 avatar

sharon1175

New Zenner

Join Date:
Nov 2013
Location:
United States
Posts:
4
Plugin Contributions:
0

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:

[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, '<' 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.

12 Nov 2013, 6:09 PM
#2
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

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

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

13 Nov 2013, 5:00 AM
#3
sharon1175 avatar

sharon1175

New Zenner

Join Date:
Nov 2013
Location:
United States
Posts:
4
Plugin Contributions:
0

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

bislewl:

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. :blush:

13 Nov 2013, 5:33 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

sharon1175:

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:

[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, '<' 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.

> **sharon1175:**
>
> 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. :blush:

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...

13 Nov 2013, 11:49 PM
#5
sharon1175 avatar

sharon1175

New Zenner

Join Date:
Nov 2013
Location:
United States
Posts:
4
Plugin Contributions:
0

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

mc12345678:

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.

14 Nov 2013, 3:19 AM
#6
sharon1175 avatar

sharon1175

New Zenner

Join Date:
Nov 2013
Location:
United States
Posts:
4
Plugin Contributions:
0

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!