Forums / Addon Shipping Modules / USPS Shipping is not included in my version

USPS Shipping is not included in my version

Locked

Views: 5,208

Results 21 to 33 of 33
This thread is locked. New replies are disabled.
23 Jan 2014, 11:04 PM
#21
ajeh avatar

ajeh

Oba-san

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

USPS Shipping is not included in my version

I am not seeing why you are showing that code on the quotes ...

Is this a clean install of Zen Cart v1.5.1 or an upgrade?

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!

24 Jan 2014, 8:15 AM
#22
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

It was a clean install of zencart. The USPS module wasn't in their shipping options however. I downloaded your new version and went from there. Do you think I need to download the new shipping add on for the new rates again?

24 Jan 2014, 9:49 AM
#23
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

Found this in the source page.
<input type="radio" name="shipping" value="usps_Standard Post&lt;sup&gt;&#174;&lt;/sup&gt;" id="ship-usps-Standard-Post&lt;sup&gt;&#174;&lt;/sup&gt;" /><label for="ship-usps-Standard-Post&lt;sup&gt;&#174;&lt;/sup&gt;" class="checkboxLabel" >Standard Post<sup>®</sup></label>

<!--</div>-->
24 Jan 2014, 7:33 PM
#24
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping is not included in my version

Could you go to your Zen Cart Admin and to the Tools ... Server Info ... and post the top section of the information above the Zen Cart logo 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!

24 Jan 2014, 7:48 PM
#25
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

Ajeh:

Could you go to your Zen Cart Admin and to the Tools ... Server Info ... and post the top section of the information above the Zen Cart logo there?

Here you go....

Server Information
Server Host: cl02.cust.omnis.com (216.239.136.12) Database Host: lampw001.mysql.guardedhost.com (216.239.136.5)
Server OS: Linux 2.6.32-358.18.1.el6.x86_64 Database: MySQL 5.5.34-MariaDB-log
Server Date: 01/24/2014 11:48:06 Database Date: 01/24/2014 11:48:06
Server Up Time: 11:48:06 up 148 days, 18:50, 1 user, load average: 3.50, 2.99, 3.25 HTTP Server: Apache/2
PHP Version: 5.2.17 (Zend: 2.2.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 32M POST Max Size: 32M
Database Data Size: 915 kB Database Index Size: 561 kB

24 Jan 2014, 7:54 PM
#26
drbyte avatar

drbyte

Sensei

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

Re: USPS Shipping is not included in my version

  1. On that same screen, can you search the page for the word "disabled" and post here which lines you find them on?

(Mainly looking for reference to any disabled functions in the PHP configuration)

  1. Are there any MyDebug-xxxxxx.log files in your /logs/ folder on the server? If so, what do the most recent ones contain?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Jan 2014, 8:12 PM
#27
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

configuration PHP Core? It's a pretty long page. Not sure exactly where to look

24 Jan 2014, 8:13 PM
#28
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

This is what the last log said:

[22-Jan-2014 23:09:53] PHP Warning: Invalid argument supplied for foreach() in /webroot/l/a/xxxxx/primary/www/includes/modules/pages/checkout_shipping/header_php.php on line 191

24 Jan 2014, 8:14 PM
#29
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

according to that page disabled is only on in the virtual directory and thread saftey

24 Jan 2014, 8:20 PM
#30
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

Line 187-192

// check that the currently selected shipping method is still valid (in case a zone restriction has disabled it, etc)
if (isset($_SESSION['shipping']) && $_SESSION['shipping'] != FALSE && $SESSION['shipping'] != '') {
$checklist = array();
foreach ($quotes as $key=>$val) {
foreach($val['methods'] as $key2=>$method) {
$checklist[] = $val['id'] . '
' . $method['id'];

25 Jan 2014, 12:03 AM
#31
drbyte avatar

drbyte

Sensei

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

Re: USPS Shipping is not included in my version

That "foreach" error is just a symptom of something odd coming back from USPS, which is preventing the USPS module from passing thru the rate quotes.

The odd thing is that Ajeh and I can't seem to recreate your symptoms.
But the only thing we know about the exact quote you're trying to to get is that you're testing with a destination zip of 93536 in Lancaster.

Help us recreate your exact same quote-request by providing:

  • your store Zip (as entered in Admin->Configuration->Shipping/Packaging)
  • tare settings (same screen)
  • all your USPS module settings (except your account number)
  • the destination zip code, if other than the 93536 I see in your screenshot earlier
  • Details about anything else you've customized in your store since installing ZC clean. If we can't recreate your same store environment, it's really hard to figure out what's causing these problems that are unique to you specifically.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Jan 2014, 7:05 PM
#32
reenie avatar

reenie

New Zenner

Join Date:
Apr 2009
Location:
California
Posts:
51
Plugin Contributions:
0

Re: USPS Shipping is not included in my version

So I deleted the USPS shipping module and reinstalled. Now it shows up in the Admin page yet when I hit install, it goes to a blank screen? This is the new 2014 module that I downloaded. Any help on this? Still have no idea why nothing is working and about to use the 1.39 version as it always seemed to work.

30 Jan 2014, 7:13 PM
#33
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping is not included in my version

What do you see in the debug log that was created when you got the blank screen?

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!