Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    530
    Plugin Contributions
    2

    Default Modifying the table shipping module

    I am trying to set up several shipping options for our local postal services by utilising the existing table method as a basis. I copied the table.php files from includes/modules/shipping and includes/languages/english/modules/shipping, modified them and then uploaded to their respective folders.

    I did this in my 1.2.7 site and it worked fine, and now I have this issue:

    1146 Table 'patgreen_zc1.SPEEDDOOR_CONFIGURATION' doesn't exist
    in:
    [select configuration_value from SPEEDDOOR_CONFIGURATION where configuration_key = 'MODULE_SHIPPING_SPEEDDOOR_STATUS']
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    I also cant get into my database through phpmyadmin

  2. #2
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    530
    Plugin Contributions
    2

    Default Re: Modifying the table shipping module

    Sorted

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Modifying the table shipping module

    Please expand on how you sorted the problem. It might help someone else in the future.

  4. #4
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    530
    Plugin Contributions
    2

    Re: Modifying the table shipping module

    I was rushing before band practice and didn't check the finished product. In my excitement to see the result, I uploaded the includes/languages/english/modules/shipping/speeddoor.php from my 1.2.7 folder and includes/modules/shipping/speeddoor.php from my 1.3.0.1 folder - 2 or 3 times. I used Winmerge in an attempt to unmangle my work before I realised what I'd done.

    Also, now that band practice is over, I'll get the names of the service correct i.e. SA Postal Services Door to Door, and set up the others as well (counter deliveries, standard parcel delivery, these for national deliveries up to 30kg, and then national road freight over 30kg, as well as international air and surface freight.

    Once they're tested (no bass guitar in hand), I'll upload the files to ZC for your approval and hopefully they can form part of the community add-ons downloads for other South African Zenners

    You know when you think you're perfect, these kind of things don't happen, and that's why I spell parafanaylya like that - a constant reminder of how imperfect I am

  5. #5
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    530
    Plugin Contributions
    2

    Default Re: Modifying the table shipping module

    So I get the first one working and have tested - all going well.

    Create module 2 - winmerged and happy that they're similar except for speeddoor becomes speedcounter and a few other details but we have issues again - and this is my error message

    Warning: reset(): Passed variable is not an array or object in /home2/patgreen/public_html/13/admin/modules.php on line 275

    Warning: Variable passed to each() is not an array or object in /home2/patgreen/public_html/13/admin/modules.php on line 276

  6. #6
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    530
    Plugin Contributions
    2

    Default Re: Modifying the table shipping module

    Sorry - add to the above posting - I get that message when I hit the install button in admin>modules>shipping

 

 

Similar Threads

  1. Adding a Residential Shipping checkbox in the Table Rate Module
    By davemehta in forum General Questions
    Replies: 2
    Last Post: 2 Jul 2011, 12:43 PM
  2. Adding a Residential Shipping checkbox in the Table Rate Module
    By davemehta in forum Addon Shipping Modules
    Replies: 3
    Last Post: 24 May 2011, 06:20 PM
  3. How to kill the table rate module when shipping to Canada?
    By samar777 in forum Addon Shipping Modules
    Replies: 7
    Last Post: 18 Sep 2010, 10:25 PM
  4. Clone a shipping module or define a new shipping attribute under table rate module?
    By meeven in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Sep 2007, 04:56 PM
  5. 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

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