Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: Problems With Installation of New USPS Shipping Module

    Quote Originally Posted by bswarren View Post
    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
    It looks like you've got two issues:
    1) The parse error in /includes/languages/english/shopping_cart.php (separate fix)
    2) You've renamed your old USPS shipping module to something like usps_older_version.php instead of something like usps.php.older_version. Zen Cart loads all files that have a .php extension from /includes/modules/shipping, that's why you're getting the class redeclaration error.

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

    Default Re: Problems With Installation of New USPS Shipping Module

    Could you also check that you do not have any old, renamed usps.php files such as usps.fred.php or oldusps.php or .bak files etc in the the directory on the server for:
    /includes/modules/shipping
    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. #13
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    Changed code as per your instructions and it put the wording back into the blank space.

    function usps() { // for older php < 5.1.0 change to usps() instead of __construct()

    I'll try a re-install now.

  4. #14
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    Re-install was successful, blank area filled. Tried going through order process and get a blank window when I click on get shipping estimate. I think we're making progress however.

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

    Default Re: Problems With Installation of New USPS Shipping Module

    Did you check for extra files in your directory:
    /includes/modules/shipping

    to ensure that there are no duplicate loading of the files?

    Can you check the /cache directory and refresh it to see if there are any new debug logs generated? If so, what are their contents?
    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!

  6. #16
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    Quote Originally Posted by lat9 View Post
    It looks like you've got two issues:
    1) The parse error in /includes/languages/english/shopping_cart.php (separate fix)
    2) You've renamed your old USPS shipping module to something like usps_older_version.php instead of something like usps.php.older_version. Zen Cart loads all files that have a .php extension from /includes/modules/shipping, that's why you're getting the class redeclaration error.
    I don't see any files like that in /includes/modules/shipping. I only see the modules that appear in ZC.

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

    Default Re: Problems With Installation of New USPS Shipping Module

    Quote Originally Posted by Ajeh View Post
    Did you check for extra files in your directory:
    /includes/modules/shipping

    to ensure that there are no duplicate loading of the files?

    Can you check the /cache directory and refresh it to see if there are any new debug logs generated? If so, what are their contents?

    YES:
    [25-Jun-2014 11:28:27] PHP Fatal error: Call to undefined function: simplexml_load_string() in /web/store/includes/modules/shipping/usps.php on line 1351

    [25-Jun-2014 11:33:42] PHP Fatal error: Call to undefined function: simplexml_load_string() in /web/store/includes/modules/shipping/usps.php on line 1351

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

    Default Re: Problems With Installation of New USPS Shipping Module

    Could you go to Tools ... Server Info ... and post what you see from the menu down to and including the php version please?
    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. #19
    Join Date
    Oct 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Problems With Installation of New USPS Shipping Module

    Quote Originally Posted by Ajeh View Post
    Could you go to Tools ... Server Info ... and post what you see from the menu down to and including the php version please?
    Server Information
    Server Host:
    Server OS: SunOS 5.10 Database: MySQL 4.1.22
    Server Date: 06/25/2014 12:04:09 Database Date: 06/25/2014 12:02:53
    Server Up Time: up ??:?? load: 0.00 0.00 0.00 HTTP Server: ConcentricHost-Ashurbanipal/1.8 (Concentric(R))
    PHP Version: 4.4.8 (Zend: 1.3.0) PHP Safe Mode: Off
    PHP File Uploads: On Max Size: 2M POST Max Size: 8M
    Database Data Size: 14,366 kB Database Index Size: 3,256 kB

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

    Default Re: Problems With Installation of New USPS Shipping Module

    Screen shot showing no other or renamed usps.php files:

    Name:  Zen_Screen_Shot_3.jpg
Views: 89
Size:  39.9 KB

 

 
Page 2 of 3 FirstFirst 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