Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Problems With Installation of New USPS Shipping Module

    Attempting to update USPS shipping Module. No shipping methods/rates at all.

    1.) Removed/Deleted old USPS shipping module according to instructions. Even applied for and received a new Web Tools User ID.
    2.) Downloaded, unzipped and uploaded new USPS data to server in proper locations. Developers Tool Kit shows:

    /web/store/includes/languages/english/modules/shipping/usps.php

    Line #12 : * @version $Id: usps.php 2014-03-07 ajeh Version K3 $

    3.) Configured all choices according to my needs.

    3.) Installed new module and in the "SHIPPING MODULES" there is no "United States Postal Service" or "usps" in the place it was.

    Click image for larger version. 

Name:	Zen_Screen_Shot.jpg 
Views:	119 
Size:	26.5 KB 
ID:	14202

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problems With Installation of New USPS Shipping Module

    You should have two files:
    /includes/modules/shipping/usps.php
    /includes/languages/english/modules/shipping/usps.php

    Also, check that you have loaded the code file to:
    /includes/modules/shipping/usps.php

    and the language defines to:
    /includes/languages/english/modules/shipping/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!

  3. #3
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    Both files were uploaded to the proper directories. The installation looks like its there but seems fragmented because "United States Postal Service and "usps" aren't appearing in the "Shipping Modules area of ZC. The Module can be edited when you click on the blank line but its like ZC doesn't recognize the module is there at checkout because it's not "named." If that makes any sense.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problems With Installation of New USPS Shipping Module

    Are you getting any debug logs in the /cache directory?

    You say you are using v139b ... I do not know if that version has issues vs v139h ... so far I cannot reproduce this in v139h ...

    Try deleting the language file on the server:
    /includes/languages/english/modules/shipping/usps.php

    and reload the language file ...

    One more time, do the test for the files ...

    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 lines for:
    * @version $Id: usps.php

    You should get two files listed ...

    Next, go to Modules ... Shipping ... and do a REMOVE, INSTALL and reconfigure of USPS ... any change?
    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!

  5. #5
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    I re loaded the files to the server this morning in both locations. Checked the Developers Tool Kit search just now and get this:

    /web/store/includes/languages/english/modules/shipping/usps.php

    Line #12 : * @version $Id: usps.php 2014-03-07 ajeh Version K3 $

    I have tried to remove the module in ZC but it won't let me. I think its got something to do with the "blank" area to the left. See screen shot - I marked in RED, the missing area:

    Click image for larger version. 

Name:	Zen_Screen_Shot_2.jpg 
Views:	76 
Size:	37.1 KB 
ID:	14203

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problems With Installation of New USPS Shipping Module

    I still am not sure why you do not find two files when you do that search ...

    Go to Tools ... Install SQL Patches ... and run:
    Code:
    delete from configuration where configuration_key like 'MODULE\_SHIPPING\_USPS\_%';
    That should remove the USPS shipping module from the configuration table ...

    Check now on Modules ... Shipping ... is the blank area for the module still blank? If you click on it, does it show as installed or needing to be installed?
    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!

  7. #7
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    Ran the code. Looks like it removed the module but the area for the module is still blank with only the "INSTALL" button showing to the right.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problems With Installation of New USPS Shipping Module

    And you still find no debug logs in the /cache directory, correct?
    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!

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problems With Installation of New USPS Shipping Module

    Edit the file:

    /includes/modules/shipping/usps.php

    and find the line:
    Code:
      function __construct() { // for older php < 5.1.0 change to usps() instead of __construct()
    Change that to read:
    Code:
      function usps() { // for older php < 5.1.0 change to usps() instead of __construct()
    Does it work?

    What version of 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!

  10. #10
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    Yes, here are three out of ten from yesterday:

    [24-Jun-2014 14:49:50] PHP Fatal error: Cannot redeclare class usps in /web/store/includes/modules/shipping/usps.php on line 20

    [24-Jun-2014 14:33:32] PHP Parse error: syntax error, unexpected ';' in /web/store/includes/languages/english/shopping_cart.php on line 13

    [24-Jun-2014 14:50:11] PHP Fatal error: Cannot redeclare class usps in /web/store/includes/modules/shipping/usps.php on line 20

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h Problem with new USPS Shipping Module on domestic first class?
    By dbltoe in forum Addon Shipping Modules
    Replies: 22
    Last Post: 6 Feb 2018, 11:26 PM
  2. v151 usps shipping module installation problems
    By ken1 in forum Addon Shipping Modules
    Replies: 15
    Last Post: 11 May 2014, 05:24 PM
  3. v139h Anyone else having problems with the new USPS module?
    By mumzie in forum Built-in Shipping and Payment Modules
    Replies: 37
    Last Post: 12 Feb 2014, 06:32 PM
  4. v139h Is the USPS shipping module required to ship with USPS?
    By yeahwhatever in forum Addon Shipping Modules
    Replies: 3
    Last Post: 14 Feb 2012, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg