Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shipping module cloning

    Could you post your whole file for the:
    /includes/modules/shipping/tableexpress.php

    from the server ...

    and the file:
    /includes/languages/english/modules/shipping/tableexpress.php


    Also check that you have no extra files, such as backup files in the directory:
    /includes/modules/shipping

    as this is an autoloading directory and that would cause problems ...

    Assuming you are in v1.3.9, can you also look in your /cache directory for debug logs ...
    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!

  2. #12
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: Shipping module cloning

    Quote Originally Posted by Ajeh View Post
    Could you post your whole file for the:
    /includes/modules/shipping/tableexpress.php

    from the server ...

    and the file:
    /includes/languages/english/modules/shipping/tableexpress.php


    Also check that you have no extra files, such as backup files in the directory:
    /includes/modules/shipping

    as this is an autoloading directory and that would cause problems ...

    Assuming you are in v1.3.9, can you also look in your /cache directory for debug logs ...

    Not a problem, i will get the debug logs downloaded now but theres quite alot.

    The tableexpress module isnt on the server as i cant alther my current modules when it is but have it saved locally so it will be included in this post.
    Attached Files Attached Files

  3. #13
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: Shipping module cloning

    debug log:

    [09-Dec-2010 11:51:36] PHP Fatal error: Cannot redeclare class table in /home/sites/martinpollardart.co.uk/public_html/includes/modules/shipping/tableexpress.php on line 209

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

    Default Re: Shipping module cloning

    For starters:
    Code:
    class table extends base {
    should be:
    Code:
    class tableexpress extends base {
    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. #15
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: Shipping module cloning

    Quote Originally Posted by Ajeh View Post
    For starters:
    Code:
    class table extends base {
    should be:
    Code:
    class tableexpress extends base {

    And i honestly cannot believe i missed that !!

    Many thanks for saving my sanity :)

    Much appriciated indeed. Working perfectly now

  6. #16
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: Shipping module cloning

    One tiny issue actually.

    Theres no Zone selection option when you come to setting the values :S

  7. #17
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: Shipping module cloning

    Also, on the original table module, theres a yellow circle next to it, unsire why, as theres a green circle next to the tableexpress one you have just helped me create from it. abit bizarre

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

    Default Re: Shipping module cloning

    The Green means no Zones are set ...

    The Yellow means either Zones are set or something isn't configured ... based on this module ... it would mean a Zone is set ...

    You have EXPRESS in the wrong place on it ... and an error here:

    Should be here:
    Code:
       'title' => MODULE_SHIPPING_TABLEEXPRESS_TEXT_WAY,
    And should be:
    Code:
        return array('MODULE_SHIPPING_TABLEEXPRESS_STATUS', 'MODULE_SHIPPING_TABLEEXPRESS_COST', 'MODULE_SHIPPING_TABLEEXPRESS_MODE', 'MODULE_SHIPPING_TABLEEXPRESS_HANDLING', 'MODULE_SHIPPING_TABLEEXPRESS_HANDLING_METHOD', 'MODULE_SHIPPING_TABLEEXPRESS_TAX_CLASS', 'MODULE_SHIPPING_TABLEEXPRESS_TAX_BASIS', 'MODULE_SHIPPING_TABLEEXPRESS_ZONE', 'MODULE_SHIPPING_TABLEEXPRESS_SORT_ORDER');
    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
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: Shipping module cloning

    Quote Originally Posted by Ajeh View Post
    The Green means no Zones are set ...

    The Yellow means either Zones are set or something isn't configured ... based on this module ... it would mean a Zone is set ...

    You have EXPRESS in the wrong place on it ... and an error here:

    Should be here:
    Code:
       'title' => MODULE_SHIPPING_TABLEEXPRESS_TEXT_WAY,
    And should be:
    Code:
        return array('MODULE_SHIPPING_TABLEEXPRESS_STATUS', 'MODULE_SHIPPING_TABLEEXPRESS_COST', 'MODULE_SHIPPING_TABLEEXPRESS_MODE', 'MODULE_SHIPPING_TABLEEXPRESS_HANDLING', 'MODULE_SHIPPING_TABLEEXPRESS_HANDLING_METHOD', 'MODULE_SHIPPING_TABLEEXPRESS_TAX_CLASS', 'MODULE_SHIPPING_TABLEEXPRESS_TAX_BASIS', 'MODULE_SHIPPING_TABLEEXPRESS_ZONE', 'MODULE_SHIPPING_TABLEEXPRESS_SORT_ORDER');

    Which lines need ammending or things inserting as i cant seem to see them.

    My ineptitude really does know no bounds today.

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

    Default Re: Shipping module cloning

    The lines I posted are the fixed lines ...

    you have:
    Code:
        'title' => MODULE_SHIPPINGEXPRESS_TABLE_TEXT_WAY,
    Code:
        return array('MODULE_SHIPPING_TABLEEXPRESS_STATUS', 'MODULE_SHIPPING_TABLEEXPRESS_COST', 'MODULE_SHIPPING_TABLEEXPRESS_MODE', 'MODULE_SHIPPING_TABLEEXPRESS_HANDLING', 'MODULE_SHIPPING_TABLEEXPRESS_HANDLING_METHOD', 'MODULE_SHIPPING_TABLEEXPRESS_TAX_CLASS', 'MODULE_SHIPPING_TABLEEXPRESS_TAX_BASIS', 'MODULE_SHIPPINGEXPRESS_TABLE_ZONE', 'MODULE_SHIPPING_TABLEEXPRESS_SORT_ORDER');
    Both lines are incorrectly written with:
    SHIPPINGEXPRESS
    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!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Cloning USPS Shipping Module
    By elgrcg in forum Addon Shipping Modules
    Replies: 3
    Last Post: 3 Dec 2010, 10:52 PM
  2. Cloning the Flat Rate Shipping Module
    By jo_h1971 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 16 Oct 2009, 12:11 PM
  3. cloning the shipping module - table
    By drmad in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 20 Oct 2006, 08:11 PM
  4. Error cloning a shipping module
    By brain21 in forum Built-in Shipping and Payment Modules
    Replies: 17
    Last Post: 2 Oct 2006, 05:15 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