Forums / Addon Shipping Modules / USPS Shipping Version: 2013-07-28 J - No International Quotes

USPS Shipping Version: 2013-07-28 J - No International Quotes

Locked

Views: 8,960

Results 1 to 20 of 50
This thread is locked. New replies are disabled.
29 Jul 2013, 2:03 PM
#1
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

USPS Shipping Version: 2013-07-28 J - No International Quotes

Hi,
I've installed the new version and looked over all the threads so far.
I'm not getting any international Quotes. I have 4 different international options selected but none are showing up.
Domestic (US) i'm getting quotes just fine.

Any help would be great.
Thanks in advanvce.

Attachment 12802
Attachment 12803

29 Jul 2013, 2:08 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

In the USPS shipping module ... what International Shipping methods do you have checked?

What are your settings on the Configuration ... Shipping/Packaging ....

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!

29 Jul 2013, 2:12 PM
#3
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Here ya go:

Attachment 12804
Attachment 12805

29 Jul 2013, 2:22 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

So far I cannot reproduce the problem ... I am getting:

United States Postal Service (1 Boxes) (0 lbs, 10 oz) (First-Class Mail® International Large Envelope (Varies by destination)) |
$4.35 |

     United States Postal Service (1 Boxes)  (0 lbs, 10 oz) (First-Class Package International Service™ (Varies by destination)) | 
     $8.24 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10 oz) (Priority Mail International® Flat Rate Envelope (6 - 10 business days)) | 
     $19.95 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10 oz) (Priority Mail International® Small Flat Rate Box (6 - 10 business days)) | 
     $19.95 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10 oz) (Priority Mail International® (6 - 10 business days)) | 
     $27.40 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10  oz) (Priority Mail Express International™ Flat Rate Envelope (3 - 5  business days)) | 
     $34.95 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10 oz) (Priority Mail Express International™ (3 - 5 business days)) | 
     $35.48 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10  oz) (Priority Mail International® Medium Flat Rate Box (6 - 10 business  days)) | 
     $40.95 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10 oz) (Priority Mail International® Large Flat Rate Box (6 - 10 business days)) | 
     $53.95 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10 oz) (USPS GXG™ Envelopes (1 - 3 business days)) | 
     $55.41 | 
     United States Postal Service (1 Boxes)  (0 lbs, 10  oz) (Priority Mail Express International™ Flat Rate Boxes (3 - 5  business days)) | 
     $64.95 | 

Could you turn on the Debug Logs in your USPS shipping module and try a quote again for British Columbia and post the generated Zip 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!

29 Jul 2013, 2:40 PM
#5
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Ok I think this is what you are looking for:

[29-Jul-2013 07:26:22 America/Los_Angeles] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 84: parser error : EntityRef: expecting ';' in /home/gothfo5/public_html/includes/modules/shipping/usps.php on line 1150
[29-Jul-2013 07:26:22 America/Los_Angeles] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: turDayCutOffTime>12:00 PM</SaturDayCutOffTime></PostOffice><PostOffice><Name>C&L in /home/gothfo5/public_html/includes/modules/shipping/usps.php on line 1150
[29-Jul-2013 07:26:22 America/Los_Angeles] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/gothfo5/public_html/includes/modules/shipping/usps.php on line 1150
[29-Jul-2013 07:26:25 America/Los_Angeles] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 84: parser error : EntityRef: expecting ';' in /home/gothfo5/public_html/includes/modules/shipping/usps.php on line 1150
[29-Jul-2013 07:26:25 America/Los_Angeles] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: turDayCutOffTime>12:00 PM</SaturDayCutOffTime></PostOffice><PostOffice><Name>C&L in /home/gothfo5/public_html/includes/modules/shipping/usps.php on line 1150
[29-Jul-2013 07:26:25 America/Los_Angeles] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/gothfo5/public_html/includes/modules/shipping/usps.php on line 1150

29 Jul 2013, 3:05 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Actually, if you look in the /logs directory you will see a log looks similar to:
SHIP_usps_Debug_07292013142314_CA_V8T1k5.log

The numbers in between the bold are the date and time ...

What version of Zen Cart are you running?

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!

29 Jul 2013, 3:15 PM
#7
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

I'm using v1.5.0

I cannot find the logs directory. I know I'm a little tired and probably not looking in the right place.

29 Jul 2013, 3:22 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Sorry ... older versions use:
/cache

peek in there ...

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!

29 Jul 2013, 3:36 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Thought it might help if I used my debug shipping log name for that zip code in my example ... let me look at this, btb ... :)

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!

29 Jul 2013, 3:46 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Could you go to your Zen Cart Admin to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
usps.php

and select Catalog and click SEARCH ...

What comes up on the line containing:
@version $Id: usps.php

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!

29 Jul 2013, 3:49 PM
#12
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Here ya go

/home/gothfo5/public_html/includes/languages/english/modules/shipping/usps.php

Line #10 : * @version $Id: usps.php 2013-07-28 ajeh $ Version J 2013-07-28

/home/gothfo5/public_html/includes/modules/shipping/usps.php

Line #12 : * @version $Id: usps.php 2013-07-28 ajeh Version J $ 2013-07-28

29 Jul 2013, 4:06 PM
#13
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Okay ... this will be fun ... especially if you are tired ... :lookaroun

Edit the file:
/includes/modules/shipping/usps.php

and you should see on line 993 the code in RED:

    $body = curl_exec($ch);
[B]//echo '$body: ' . $body . '<br>';
[/B]

Could you un-comment the line by removing the // in front of echo and then try the same quote again ...

You will see at the top of the shipping_estimator a line starting with:
$body:

that looks really nasty ...

Do a View Source and search for:
$body:

Copy all of that stuff to the line in RED:

[B]<br><div id="shippingEstimatorContent">[/B]
<form name="estimator"

and paste it into NotePad then Zip that file and attach it here ...

Easy smeazy, eh? :blink:

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!

29 Jul 2013, 4:24 PM
#14
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Directions I can follow, easy as pie, here ya go!

Attachment #12810

29 Jul 2013, 5:02 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Can you check your files, on the server, for:
/includes/configure.php
/your_secret_admin/includes/configure.php

Are you 100% positive that both your Admin and Catalog are using the same database, paths, etc.

NOTE: if you post those files here do NOT show your username or password or secret_admin_name ...

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!

29 Jul 2013, 5:06 PM
#16
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Yep I'm using the same database for both (I only have one set up) but I double checked and they are both pointing to the same database.

I have to go run some errands that require pants. So I'll be back in a couple hours.

29 Jul 2013, 5:15 PM
#17
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

What version PHP are you using?

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!

29 Jul 2013, 6:51 PM
#18
gfdesigns avatar

gfdesigns

New Zenner

Join Date:
May 2009
Location:
WA
Posts:
65
Plugin Contributions:
0

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

PHP Version: 5.3.27 (Zend: 2.3.0)
PHP Memory Limit: 512M
PHP Safe Mode: Off
PHP File Uploads: On
Max Size: 128M
POST Max Size: 128M
Database Data Size: 11,698 kB

29 Jul 2013, 6:59 PM
#19
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Version: 2013-07-28 J - No International Quotes

Could you do your quote again in your Shipping Estimator ... then hit the update button in the Shipping Estimator popup window 3 times and then do the View Source and find that $body: section and copy and paste it to NotePad and Zip that file and attach it please?

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!