Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / USPS Shipping Module giving a blank page...

USPS Shipping Module giving a blank page...

Locked

Views: 1,672

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
25 Sep 2009, 10:35 PM
#1
pruce avatar

pruce

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

USPS Shipping Module giving a blank page...

Hello! I'm new to the forums, and only signed up because I can't seem to figure this out...

Im normally very technically adept, and generally have no problems trouble shooting issues like this, but I'm out of ideas.

My ZC is Zen Cart 1.3.8a.

As i've said i'm trying to get the USPS module to work, and every time I try to estimate shipping, all I get is a blank popup. The same thing happens when I go to checkout, I get a blank page where the shipping info would happen.

I've gone through all the settings repeatedly and everything seems to be where it should. I've also installed the error logging tool from Zen Cart and an getting the same error repeatedly:

PHP Fatal error: Cannot instantiate non-existent class: httpclient in /html/store/includes/modules/shipping/usps.php on line 410

I've checked line 410 of the USPS module and there is nothing there. I ran a search for httpclient in the USPS module and it shows up on line 810, but there had been nothing changed there, it's all the original code. There had been some modifications done to other areas of the site code, but when I reverted them back to the originals the problem was still there.

When I deactivate the USPS module, the shipping works fine. ALso, the problem arises with the UPS module the exact same way.

Any ideas? Any more info I can provide that may lead to some ideas?

Thanks in advance...

25 Sep 2009, 10:36 PM
#2
pruce avatar

pruce

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: USPS Shipping Module giving a blank page...

Oh, and the link to my site is:

http://www.thescenesaver.com/store

In case you want to check it out...

28 Sep 2009, 2:37 PM
#3
pruce avatar

pruce

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: USPS Shipping Module giving a blank page...

Anybody?

...

28 Sep 2009, 2:57 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Shipping Module giving a blank page...

What happens if you download the May 2008 Patch again and reload it to your server?
http://www.zen-cart.com/forum/showthread.php?t=97461

Note: be sure to do a
1 REMOVE on the old one

2 upload the new files to your server

3 INSTALL the new USPS shipping module

4 Reconfigure it ...

28 Sep 2009, 3:44 PM
#5
pruce avatar

pruce

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: USPS Shipping Module giving a blank page...

No love.

And like i've said, this happens with both the USPS and the UPS module. Because of that i've suspected a configuration error, but I can't for the life of me find our where it might be.

28 Sep 2009, 3:51 PM
#6
pruce avatar

pruce

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: USPS Shipping Module giving a blank page...

And just for the heck of it, I just removed the USPS module and configured the UPS module and this is the error I got:

[28-Sep-2009 08:47:28] PHP Fatal error: Cannot instantiate non-existent class: httpclient in /html/store/includes/modules/shipping/ups.php on line 387

Same class, any chance it has something to do with IE8 or Vista, or possibly a firewall, or hosting setting?

Its failing when it tries to start an HTTP connection with the USPS server. Any chance that something is blocking that connection even though it's over port 80?

28 Sep 2009, 4:49 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: USPS Shipping Module giving a blank page...

pruce:

[28-Sep-2009 08:47:28] PHP Fatal error: Cannot instantiate non-existent class: httpclient ...

Sounds like you're missing a file from your server ... or maybe it's damaged or incomplete?
/includes/classes/http_client.php

28 Sep 2009, 5:48 PM
#8
pruce avatar

pruce

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: USPS Shipping Module giving a blank page...

Yes, THANK YOU.

I knew it had to be something simple. That damn file was there but it showed up as a big ole goose egg in the size column.

Too bad i didn't know that file existed otherwise I would have had it fixed a week ago!

Thanks again! I can stop pulling my hair out now...