Zen Cart Logo
Forums / General Questions / Having Problems getting USPS shipping option running on my website. Need help!!!

Having Problems getting USPS shipping option running on my website. Need help!!!

Views: 1,738

Results 21 to 30 of 30
25 Sep 2014, 4:32 PM
#21
ajeh avatar

ajeh

Oba-san

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

Having Problems getting USPS shipping option running on my website. Need help!!!

Searching the FAQs for:
upgrade

will bring up several helpful lists:
http://www.zen-cart.com/content.php?140-how-do-i-upgrade-my-site
http://www.zen-cart.com/content.php?148-how-do-i-upgrade-my-zen-cart-site

Searching the forums will also have several posts on it ... if you get stuck you could always start a new thread for additional help on doing this ...

29 Sep 2014, 7:43 PM
#22
theteapet avatar

theteapet

New Zenner

Join Date:
Sep 2014
Location:
Massachusetts
Posts:
20
Plugin Contributions:
0

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

I have downloaded WinZip, I believe I unzipped the USPS file (I am not really sure how you can tell if the file is zipped or unzipped) then I went into cPanel. In cPanel I went under file manager and uploaded the USPS file under public_ftb and it is still not running. Any help would be appreciated. Thanks!

29 Oct 2014, 10:05 PM
#23
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

The USPS K5 version does not support V1.3.9? I am having a problem. My First Class international rates are not displaying on the front page even though I show them in the log file.

29 Oct 2014, 10:18 PM
#24
ajeh avatar

ajeh

Oba-san

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

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

Edit the USPS module in your Zen Cart Admin Modules ... Shipping ... and turn the Debug to Log ...

Try another shipping quote, then look in your directory /cache (this is /logs in newer Zen Cart versions) and Zip the Shipping log(s) that is created and attach it to your post ...

4 Nov 2014, 7:27 PM
#25
veldrin avatar

veldrin

New Zenner

Join Date:
Nov 2014
Location:
Los Angeles
Posts:
3
Plugin Contributions:
0

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

Unfortunately, I have been experiencing issues with this as well, and can't seem to figure out what the problem is. I have Zen Cart 1.3.9h installed, and have installed the newest version of the USPS module according to the included instructions. When I enable the module, and fill in all the necessary details, I have found that the shipping page (when selecting your shipping method) turns completely blank. Once I disable the module, everything goes back to normal. Any advice? I verified with USPS that my account is in production mode, so I don't think that's the issue.

Thanks for the help in advance!

4 Nov 2014, 8:04 PM
#26
ajeh avatar

ajeh

Oba-san

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

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

First, check that you have the right version of USPS October 30, 2014 K6 installed ...

Go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...

In the bottom input box enter:
usps.php

Then, select Catalog ... click SEARCH ...

What comes up on the paths to the files and the lines for:

  • @version $Id: usps.php

Next, make sure that you have the code file in:
/includes/modules/shipping/usps.php

and that you have the language file in:
/includes/languages/english/modules/shipping/usps.php

Next, look in the /logs directory (this is /cache in older versions of Zen Cart) and see what debug logs you have in there and post the contents here ...

4 Nov 2014, 9:43 PM
#27
veldrin avatar

veldrin

New Zenner

Join Date:
Nov 2014
Location:
Los Angeles
Posts:
3
Plugin Contributions:
0

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

Ok, so after doing that, this is what comes up:

/includes/languages/english/modules/shipping/usps.php
Line #13 : * @version $Id: usps.php 2014-10-30 ajeh Version K6 $

/includes/modules/shipping/usps.php
Line #14 : * @version $Id: usps.php 2014-10-30 ajeh Version K6 $

Also, here is the log file:

[04-Nov-2014 16:38:45 America/New_York] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/languages/pure_green_free/english.php on line 20
[04-Nov-2014 16:38:45 America/New_York] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/languages/english/email_extras.php on line 31
[04-Nov-2014 16:38:45 America/New_York] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/languages/english.php on line 16
[04-Nov-2014 16:38:45 America/New_York] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/init_includes/init_special_funcs.php on line 40
[04-Nov-2014 16:38:45 America/New_York] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/counter.php on line 21
[04-Nov-2014 16:38:45 America/New_York] PHP Warning: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/counter.php on line 53
[04-Nov-2014 16:38:45 America/New_York] PHP Warning: strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/counter.php on line 53
[04-Nov-2014 16:38:46 America/New_York] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/modules/shipping/usps.php on line 840
[04-Nov-2014 16:38:46 America/New_York] PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/helkonor/public_html/includes/modules/shipping/usps.php on line 1909
[04-Nov-2014 16:38:46 America/New_York] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead' in /home/helkonor/public_html/includes/modules/shipping/usps.php:1912
Stack trace:
#0 /home/helkonor/public_html/includes/modules/shipping/usps.php(1912): DateTime->__construct('tomorrow')
#1 /home/helkonor/public_html/includes/modules/shipping/usps.php(908): usps->zen_usps_shipdate()
#2 /home/helkonor/public_html/includes/modules/shipping/usps.php(279): usps->_getQuote()
#3 /home/helkonor/public_html/includes/classes/shipping.php(136): usps->quote('')
#4 /home/helkonor/public_html/includes/modules/pages/checkout_shipping/header_php.php(196): shipping->quote()
#5 /home/helkonor/public_html/index.php(38): require('/home/helkonor/...')
#6 {main}
thrown in /home/helkonor/public_html/includes/modules/shipping/usps.php on line 1912

5 Nov 2014, 1:51 AM
#28
ajeh avatar

ajeh

Oba-san

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

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

Let's start by getting rid of the timezone error ...

Check this thread and see if it helps:
http://www.zen-cart.com/showthread.php?208662-date-timezone-patch

5 Nov 2014, 3:49 PM
#29
veldrin avatar

veldrin

New Zenner

Join Date:
Nov 2014
Location:
Los Angeles
Posts:
3
Plugin Contributions:
0

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

You are a true wizard, Sir!

That solved the problem, it seems to work beautifully now. Thank you for your help!

5 Nov 2014, 7:10 PM
#30
ajeh avatar

ajeh

Oba-san

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

Re: Having Problems getting USPS shipping option running on my website. Need help!!!

Thanks for the update that all is working for you now ... :smile: