Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,547
    Plugin Contributions
    81

    Default Shipping Estimator Order Class

    Line 84:

    require(DIR_WS_CLASSES . 'order.php');

    Should be:

    require_once(DIR_WS_CLASSES . 'order.php');

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Shipping Estimator Order Class

    What's the use-case scenario where you're triggering a need for this?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Shipping Estimator Order Class

    Whenever a script appears to need a "require_once" it suggests that there's some sort of "loop" going on that ought not to be there.

    So, merely changing from "require" to "require_once" would only be a cheap bandage to a potentially bigger root cause.

    Hence the request for more information.

    Without further information substantiating your "bug report", it suggests that perhaps your issue is really related to changes you've made elsewhere that need some refining.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Shipping Estimator Sidebox PHP Fatal error: Cannot redeclare class order on 1.5.1
    By explorer1979 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Apr 2014, 08:29 AM
  2. Replies: 2
    Last Post: 14 Mar 2014, 07:06 PM
  3. where to put my diy shipping class extends core class ?
    By linjuming in forum General Questions
    Replies: 3
    Last Post: 21 Aug 2012, 02:58 PM
  4. Change order of shipping companies in Shipping Estimator
    By willieWontGo in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 27 Jul 2011, 03:18 AM
  5. First Class not showing in shipping estimator
    By jesustogs in forum Addon Shipping Modules
    Replies: 1
    Last Post: 15 Oct 2006, 05:42 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR