Forums / Addon Shipping Modules / USPS Shipping Module does not show up under Modules/Shipping

USPS Shipping Module does not show up under Modules/Shipping

Results 1 to 20 of 31
15 Sep 2012, 23:46
#1
javagoldman avatar

javagoldman

New Zenner

Join Date:
Sep 2012
Posts:
1
Plugin Contributions:
0

USPS Shipping Module does not show up under Modules/Shipping

I have recently installed ZenCart for the first time. It was installed as version 1.5.0. I have installed the Aberdeen Neutral Template and made some formatting changes.

I have the following 8 shipping modules listed under the Modules/shipping area:

Flat Rate
Free Shipping Options
FREE SHIPPING!
Per Item
Per Unit
Store Pickup
Table Rate
Zone Rates

I downloaded the USPS Shipping Module Update (v 1.3.9) from this URL: http://www.zen-cart.com/downloads.php?do=file&id=1267&uid=3509&act=down&actionhash=guest

The Readme said to unzip it, copy the USPS.php into the zencart shipping module directory. I copied USPS.php into zenstore/includes/modules/shipping and copied modules into my admin folder. when that did not work, I copied the USPS.php file into zenstore/includes/languages/english/modules/shipping.

I logged out of the admin area of my zencart and back in and checked after each of these copies but the USPS module still does not show up in the Modules/shipping area.

What am I missing?
16 Sep 2012, 00:27
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

Please go to your Admin and go to the Tools ... Developers Tool kit ... and in the bottom input box enter:
usps.php

and select Catalog and click SEARCH ...

What comes up?
02 Apr 2013, 19:28
#3
reactivetargets avatar

reactivetargets

New Zenner

Join Date:
Mar 2013
Posts:
5
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

Hi I am encountering this same issue...It appears I have the usps.php in the right places. See below.
Searching 730 files ... for: usps.php

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

Line #6 : * @version $Id: usps.php 18348G 2013-01-27 01:27:00Z ajeh $

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

Line #6 : * @version $Id: usps.php 18348G 2013-01-27 01:27:00Z ajeh $

Any suggestions as to why the USPS is still not showing up?
02 Apr 2013, 22:32
#4
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

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

If you go to Modules ... Shipping ... and click on the USPS ... what do you see in the right hand panel?
03 Apr 2013, 01:07
#5
reactivetargets avatar

reactivetargets

New Zenner

Join Date:
Mar 2013
Posts:
5
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

Shipping/Packaging
Action
Country of Origin United States
Postal Code 61015
Enter the Maximum Package Weight you will ship 60
Package Tare Small to Medium - added percentage:weight 0:3
Larger packages - added packaging percentage:weight 10:0
Display Number of Boxes and Weight Status 3
Order Free Shipping 0 Weight Status 0
Shipping Estimator Display Settings for Shopping Cart 1
Display Order Comments on Admin Invoice 1
Display Order Comments on Admin Packing Slip 1

Modules Shipping

Modules Sort Order Action
Flat Rate flat 0
Free Shipping Options freeoptions
FREE SHIPPING! freeshipper 0
Per Item item 0
Per Unit perweightunit
Store Pickup storepickup 0
Table Rate table 0
Zone Rates zones
03 Apr 2013, 03:06
#6
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

I do not see USPS in your shipping choices ...

Make sure that you have in these files directories:
/includes/modules/shipping/usps.php
/includes/lanugages/english/modules/shipping/usps.php

If you do, do a search in 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 filenames and the version id lines?
03 Apr 2013, 20:17
#7
reactivetargets avatar

reactivetargets

New Zenner

Join Date:
Mar 2013
Posts:
5
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

Hi
Please look at post 3 from April 2nd for the information you have asked for.
03 Apr 2013, 21:40
#8
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

If you go to Modules ... Shipping ... below all of the shipping modules listed do you see a line like:
Module Directory: /home/reacti9/public_html/includes/modules/shipping/

Or, is it just blank?

If just blank, if you look via FTP at the directory:
/includes/modules/shipping

do you have copies or backup files of usps.php in that directory?

If not, can you check that the file:
/home/reacti9/public_html/includes/modules/shipping/usps.php

is the code file ...

and can you check that the file:
/home/reacti9/public_html/includes/languages/english/modules/shipping/usps.php

is the language file with the DEFINE statements in it ...
08 Apr 2013, 19:49
#9
reactivetargets avatar

reactivetargets

New Zenner

Join Date:
Mar 2013
Posts:
5
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

Both files are the "Define" files...
08 Apr 2013, 20:36
#10
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

You need the code file in:
/includes/modules/shipping/usps.php

Check the download again and reload the files to the server in the correct directory ...
25 Jun 2015, 18:12
#11
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Posts:
14
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

Ajeh:

You need the code file in:
/includes/modules/shipping/usps.php

Check the download again and reload the files to the server in the correct directory ...


I came across this thread and I am having the same issues. I have uploaded the most recent version of the USPS module but it does not show up in the Module -> Shipping section of the admin area. There is an empty space where it should be, but I can not do anything. See screenshot: http://screencast.com/t/0NruU3sc

I have tried clicking on the empty line and clicking install but nothing happens.

I checked the actual files that are uploaded and they are correct - language file in the appropriate language folder, and code file in the appropriate module folder.

I checked through Tools -> Developers Tool Kit and searched the two usps.php files and they show up correctly:

/var/www/html/store/includes/languages/english/modules/shipping/usps.php
Line #14 : * @version $Id: usps.php 2015-05-31 ajeh Version K7 $

/var/www/html/store/includes/modules/shipping/usps.php
Line #15 : * @version $Id: usps.php 2015-05-31 ajeh Version K7 $

Any help would be appreciated.
25 Jun 2015, 18:19
#12
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

Could you click the Reply to this thread and answer the Posting Tips question?
25 Jun 2015, 18:25
#13
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Posts:
14
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

Sure...

Zen Cart v1.3.9h/v1.3.9h
Not upgraded
Problem with USPS module
PHP Version: 4.4.7 (Zend: 1.3.0)
Database: MySQL 5.0.67
I'm assuming it's been like this since USPS stopped supporting V3 api

Let me know if you need any of the other items
25 Jun 2015, 18:29
#14
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

Based on the old, out dated and no longer supported version of php (this is a *hint*), you need to edit the file:
/includes/modules/shipping/usps.php

and follow the instructions on this line, approximately line 86, in the code:
  function __construct() { // for older php < 5.1.0 change to usps() instead of __construct()


NOTE: you should also then upgrade your Zen Cart version to at least the newest one, but not until you get you php updated ...
25 Jun 2015, 18:45
#15
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Posts:
14
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

I changed it to function usps() and now the empty line is gone, and i am not able to edit any of the other modules..see screenshot: http://screencast.com/t/5NTXynsoHe
25 Jun 2015, 18:48
#16
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

Sound like you have a backup file in the directory:
/includes/modules/shipping

in which case you most likely now have a debug log in you /logs (/cache in old out dated versions of Zen Cart, again a *hint* here) ...
25 Jun 2015, 18:54
#17
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Posts:
14
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

How do I get rid of it? I don't see a /cache folder
25 Jun 2015, 19:03
#18
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

How do you get rid of what? :lookaroun

As to no /cache that is really needed in v1.3.9, as well as a good idea for other versions, as that is where the debug logs go in v1.3.9 ...
25 Jun 2015, 19:05
#19
ajeh avatar

ajeh

Oba-san

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

Re: USPS Shipping Module does not show up under Modules/Shipping

What do you have set in:
/includes/configure.php

for the line that contains, at the end of the file:
define('DIR_FS_SQL_CACHE'
25 Jun 2015, 19:11
#20
sergeh avatar

sergeh

New Zenner

Join Date:
May 2014
Posts:
14
Plugin Contributions:
0

Re: USPS Shipping Module does not show up under Modules/Shipping

ok i found the cache folder.. here is the error message:

[25-Jun-2015 14:45:19] PHP Fatal error: Call to undefined function: json_decode() in /var/www/html/store/includes/modules/shipping/usps.php on line 2290