Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default USPS Shipping module and debug error

    Hi

    I have zen cart 1.3.9d installed and I use the usps shipping module.

    When I have Configuration/Shipping/Packaging/Shipping Estimator Display Settings for Shopping Cart set to

    2= Display as Listing on Shopping Cart Page

    the shipping estimator does not show on the shopping cart page and my footer does not show at the bottom of the page.

    if I set Configuration/Shipping/Packaging/Shipping Estimator Display Settings for Shopping Cart to

    1= Display as Button on Shopping Cart

    the shipping estimator button shows in the cart where it belongs and the footer displays.

    The debug file shows this error

    [13-Nov-2010 11:24:49] PHP Fatal error: Cannot redeclare class order in /home/******/public_html/includes/classes/order.php on line 1091

    I checked the order.php file and line 1091 is the last line with just a curly brace.

    I'm at a loss on this one. Any suggestions how to track this down? I would like to be able to display the shipping estimator instead of just the estimator button.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: USPS Shipping module and debug error

    I checked the order.php file and line 1091 is the last line with just a curly brace.
    Check that there is no line after it nor any spaces
    Easiest to place your cursor right after it and press delete several times
    Save and see if that fixes it
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: USPS Shipping module and debug error

    That did it. I have no idea how that extra line got there. All's good. Thank you.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: USPS Shipping module and debug error

    That did it. I have no idea how that extra line got there.
    What FTP client did you use to upload files?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: USPS Shipping module and debug error

    Quote Originally Posted by kobra View Post
    What FTP client did you use to upload files?
    filezilla

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: USPS Shipping module and debug error

    filezilla
    That is one of the more reliable clients....
    Zen-Venom Get Bitten

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

    Default Re: USPS Shipping module and debug error

    Do a search in the Tools ... Developers Tool Kit ... and in the bottom input box enter:
    class order

    how many filenames come up other than:
    /includes/classes/order.php

    there should only be the one ...

    NOTE: I had this written awhile ago ... so if you fixed your error on the redeclared order class ... then ignore this one ...
    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!

 

 

Similar Threads

  1. v151 USPS Shipping Module Error
    By Christian_Wagner in forum Addon Shipping Modules
    Replies: 11
    Last Post: 31 May 2013, 10:42 PM
  2. USPS Shipping Module Error
    By outeredge2 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 10 Mar 2013, 07:07 AM
  3. USPS Shipping Module Error Codes
    By AirsoftOutfitter in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Jun 2010, 11:36 PM
  4. USPS SHipping module error
    By dldesigntore in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 22 Mar 2010, 11:31 PM
  5. USPS shipping mod problems, debug emails blank
    By chminis in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Dec 2008, 09:44 PM

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