Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / USPS Module Install Problems

USPS Module Install Problems

Views: 2,074

Results 1 to 20 of 25
9 Aug 2012, 7:19 PM
#1
freshteck avatar

freshteck

New Zenner

Join Date:
Aug 2012
Posts:
9
Plugin Contributions:
0

USPS Module Install Problems

Hello there I am new to the ZenCart Community I have just migrated from TomatoCart because of its unstableness. I have read lots of forums on the USPS issue but still cannot figure out the problem. Here is what I have done so far.

-I have been to to the zenmart download site and downloaded the usps file. I have placed the usps.php file into includes/modules/shipping.

-I was getting a error that said there was a language file missing but when I put the usps.php file in the language file it disappeared but still did not show the usps options.

-I have contact USPS and set up a Web Tools Account. I am on the production server now. I called twice just to make sure I was and they stated that I was on the production server.

-This is the READ ME from the USPS file I downloaded:
USPS RateV3 January 22, 2012

To install this code

1 go to your Zen Cart Admin to the Modules ... Shipping ... I'm assuming this is in the filemanager area

2 Click on USPS and edit then save all your settings to NotePad as they will be lost Click on USPS? There wasn't a file named that in the first place thats why I downloaded this?

3 Click REMOVE to uninstall the current version of USPSI cannot remove a file that isn't there.

4 Load the new files with your FTP program they go in the same directories so you can copy the directory
/includes

to your server and overwrite the old files

5 Go to your Zen Cart Admin and to the Modules ... Shipping ...

6 Click on USPS shipping modules and click INSTALL

7 Configure your USPS shipping module

NOTE: this shipping module cannot work until USPS has updated their server with the new rates.
This should be done on January 22, 2012

I keep doing all this and still I can't seem to bring USPS up.

MISSION: What I'm trying to accomplish is to be able to allow free shipping within the USA and then use USPS rate calculator to determine the cost of shipping to be added to the total in checkout. Thanks in advance.:D

9 Aug 2012, 7:44 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

Once you loaded the new files to your server, do you now see the USPS shipping module in Modules ... Shipping ...?

If not, make sure that the code file is in:
/includes/modules/shipping

NOTE: the code file does not have the define statements in it

Make sure that the language file is in:
/includes/languages/english/modules/shipping

NOTE: the language file does have all of the define statements in it

If so, did you contact USPS and have them update your Web Tools Account to the Production server?

If you look in the Configuration ... Shipping/Packaging ... what are your settings there?

If you still have errors, look in your directory:
/cache

and see what debug log files come up ...

11 Aug 2012, 5:04 AM
#3
freshteck avatar

freshteck

New Zenner

Join Date:
Aug 2012
Posts:
9
Plugin Contributions:
0

Re: USPS Module Install Problems

Ajeh:

Once you loaded the new files to your server, do you now see the USPS shipping module in Modules ... Shipping ...?

If not, make sure that the code file is in:
/includes/modules/shipping

NOTE: the code file does not have the define statements in it

Make sure that the language file is in:
/includes/languages/english/modules/shipping

NOTE: the language file does have all of the define statements in it

If so, did you contact USPS and have them update your Web Tools Account to the Production server?

If you look in the Configuration ... Shipping/Packaging ... what are your settings there?

If you still have errors, look in your directory:
/cache

and see what debug log files come up ...

Thank You so much for your fast response. I have been on the rode and have not been able to reply. I finally figured out after reading your reply where I went wrong. I have USPS working now or atleast for now.

I also had another question that I'm having trouble with:

-I uploaded a new template into my admin and it works and looks great so far but I want to edit somethings like the text, buttons, etc. Where do I go to edit these type of things. I figured there would be an easy way in the admin to do this but I can't seem to find it. Thanks in advance.

11 Aug 2012, 12:45 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

This is best asked in another thread where someone who does design and template work can help you as this one is for USPS ...

Thanks for the update that your USPS is now working ...

13 Aug 2012, 12:54 AM
#5
menappi avatar

menappi

New Zenner

Join Date:
Oct 2007
Posts:
63
Plugin Contributions:
0

Re: USPS Module Install Problems

I just installed this mod successfully but I'm wondering if it's necessary to have the Web Tools account? The add-on seems to be populating the correct shipping prices right now and I didn't sign up for anything, just dragged over the files to my server...

13 Aug 2012, 1:01 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

Check again that this is the USPS shipping module that you have installed and are seeing quotes from ...

It does not work without a valid Web Tools account that has been set to the Production Server with USPS either by email or phone ...

19 Aug 2012, 8:51 PM
#7
thestormywillow avatar

thestormywillow

New Zenner

Join Date:
Aug 2012
Posts:
3
Plugin Contributions:
0

Re: USPS Module Install Problems

Sorry to bother you but I am having some issues. I followed the instructions I found (I thought) and it never showed up for me to install it. In the zip file i downloaded under zen-root there are two files, one admin and one includes. Under admin there is a modules php file. Where do I put it? and under includes then modules then shipping there is a usps php file. Where do I put that one? Sorry again I tried to get it to work with no prevail. Thank you for your time and patience.
The Stormy Willow

19 Aug 2012, 10:53 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

You have installed the USPS for RateVersion 3 or 4?

It sounds like 4 ...

The file for /admin goes in your:
/your_secrect_admin_dir

The code file:
/includes/modules/shipping/usps.php

goes in your:
/<store directory if you use one>/includes/modules/shipping/usps.php

the file:
The file:
/includes/lanugages/english/modules/shipping/modules/shipping/usps.php

goes in your:
/<store directory if you use one>/includes/lanugages/english/modules/shipping/modules/shipping/usps.php

If you are installing the UPS for RateVersion 3, then you need to install the:

The code file:
/includes/modules/shipping/usps.php

goes in your:
/<store directory if you use one>/includes/modules/shipping/usps.php

the file:
The file:
/includes/lanugages/english/modules/shipping/modules/shipping/usps.php

goes in your:
/<store directory if you use one>/includes/lanugages/english/modules/shipping/modules/shipping/usps.php

14 Oct 2012, 5:55 PM
#9
whitehorsehill avatar

whitehorsehill

New Zenner

Join Date:
Oct 2012
Posts:
40
Plugin Contributions:
0

Re: USPS Module Install Problems

Okay I am having problems as well... I downloaded the USPS Module (latest updated version - USPS RateV3 ) and I installed the Files like the Read me stated to do but the Module is NOT showing up in my Stores Admin area under shipping???

Please help! Thank you!
Christine

14 Oct 2012, 7:33 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

Check and see if you have backup files in your:
/includes/modules/shipping

directory and that you do not have a renamed usps.php that was an old version ... this is an autoloading directory and all files that end in .php will load ...

Look at your debug logs... these are in /cache in older than v1.5.1 and /logs in v1.5.1+ versions of Zen Cart ...

14 Oct 2012, 8:09 PM
#11
whitehorsehill avatar

whitehorsehill

New Zenner

Join Date:
Oct 2012
Posts:
40
Plugin Contributions:
0

Re: USPS Module Install Problems

Hi Linda,

I check the cache and it says:

14-Oct-2012 12:08:42] PHP Fatal error: Cannot redeclare class usps in /home/calamity/public_html/store/includes/modules/shipping/usps.php on line 1049

There are several more like this and I am not sure what the heck I am doing at this point :-( I am really worried That I messed something up royally.

14 Oct 2012, 8:22 PM
#12
whitehorsehill avatar

whitehorsehill

New Zenner

Join Date:
Oct 2012
Posts:
40
Plugin Contributions:
0

Re: USPS Module Install Problems

Linda,

I went back and undid what I did - basically uninstalling everything back to the way it was before I tried uploading the USPS Mod.

Maybe if I start from the beginning again it will help?

Can you help me walk through installing the module properly please?

Thank you in advance for your your time and help!

14 Oct 2012, 8:43 PM
#13
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

It sounds like you renamed the old usps.php file or had a backup copy of it in that directory ...

1 save your settings to USPS

2 do a REMOVE on USPS

3 copy the files from the USPS ZIP to your server ... you should be loading the code file:
/includes/modules/shipping/usps.php

and the language file to:
/includes/languages/english/modules/shipping/usps.php

4 go to the Modules ... Shipping ... and you should be able to click on USPS and do an INSTALL and then configure the settings ...

that should be it ...

14 Oct 2012, 8:55 PM
#14
whitehorsehill avatar

whitehorsehill

New Zenner

Join Date:
Oct 2012
Posts:
40
Plugin Contributions:
0

Re: USPS Module Install Problems

thank you Linda,

Actually there was no USPS option in the Store back office before.... and when I looked at the original Zen cart install files under modules and there was no USPS file in there either??? Not sure what I did wrong - but I will try and reinstall the Module and see what happens.

Ummm should I do #3 or #4?? I have down loaded both files

Attachment 11312

14 Oct 2012, 9:00 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

You should try to do them ... if you do not currently have an USPS shipping module ... just to be safe, once you have the new files on the server, if USPS appears to already be installed, then do the REMOVE and INSTALL and reconfigure to ensure you have all of the proper settings ...

14 Oct 2012, 9:06 PM
#16
whitehorsehill avatar

whitehorsehill

New Zenner

Join Date:
Oct 2012
Posts:
40
Plugin Contributions:
0

Re: USPS Module Install Problems

Okay I reinstalled the two files in the #4 zip file and when I went into my back office it gave me this error message:

ERROR: module not loaded due to missing language file: /home/calamity/public_html/store/includes/languages/english/modules/shipping/usps.php

Where do I find this file to upload?

14 Oct 2012, 9:26 PM
#17
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

Make sure you downloaded the v1.5.0 USPS shipping module:
http://www.zen-cart.com/downloads.php?do=file&id=1292

There is both the USPS language module file and the module code file ...

when unzip the download you should see:
\USPS v15 Ratev3\includes\languages\english\modules\shipping\usps.php
\USPS v15 Ratev3\includes\modules\shipping\usps.php

copy the language file:
\USPS v15 Ratev3\includes\languages\english\modules\shipping\usps.php

to your server:
/your_root_or_your_store_directory/includes/languages/english/modules/shipping/usps.php

copy the code file:
\USPS v15 Ratev3\includes\modules\shipping\usps.php

to your server:
/your_root_or_your_store_directory/includes/modules/shipping/usps.php

then follow the steps to install it ...

14 Oct 2012, 9:34 PM
#18
whitehorsehill avatar

whitehorsehill

New Zenner

Join Date:
Oct 2012
Posts:
40
Plugin Contributions:
0

Re: USPS Module Install Problems

THANK YOU!!!!!!!!!!!!

You so ROCK!!!! I finally got it to work!!!! Thank you soooo very much! I am over joyed right now, in tears ( of Joy) and ready to get this shipping module all set up!! Thank you again for being so patient with me and helping me so much!! Your a huge blessing!

14 Oct 2012, 9:43 PM
#19
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Install Problems

You are most welcome ... glad that this is all working for you now ... :smile:

15 Oct 2012, 3:36 PM
#20
whitehorsehill avatar

whitehorsehill

New Zenner

Join Date:
Oct 2012
Posts:
40
Plugin Contributions:
0

Re: USPS Module Install Problems

Hello again Linda,

I have a quick question for you... I got my Username for USPS and they set it to production for me... but when I got done these errors show up??? Where do i go to fix these??? and what do i put in there? I don't use set package dimensions... as they can vary?? Any advice would be greatly appreciated!!!

Warning Shipping Configuration errors!
The parameters set in Package Dimensions Config #1 are invalid, please enter valid shipping parameters. Current setting will be overridden with default: 'regular;+'
The parameters set in Package Dimensions Config #2 are invalid.

Attachment 11314