Thread: Canada Post Sql

Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2007
    Posts
    13
    Plugin Contributions
    0

    Default Canada Post Sql

    I get this error when trying to add the sql for this module:
    Error

    SQL query:
    #Canada Post Shipping Module -- Adds dimensional support to products
    ALTER TABLE products ADD products_weight_type ENUM( 'lbs', 'kgs' ) NOT NULL default 'kgs' AFTER products_weight;


    MySQL said:
    #1060 - Duplicate column name 'products_weight_type'

    Plus, I can't do this from Admin.

  2. #2
    Join Date
    Jan 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Canada Post Sql

    I I try to install from ADMIN, this erro array comes up:
    Failed: 6 ERROR: Cannot ADD column products_weight_type because it already exists. ERROR: Cannot ADD column products_dim_type because it already exists. ERROR: Cannot ADD column products_length because it already exists. ERROR: Cannot ADD column products_width because it already exists. ERROR: Cannot ADD column products_height because it already exists. ERROR: Cannot ADD column products_ready_to_ship because it already exists.

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

    Default Re: Canada Post Sql

    Sounds like the fields are there and you are trying to add them again ...

    Look at your database table via phpMyAdmin ... do you already see the fields in the products table?
    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!

  4. #4
    Join Date
    Jan 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Canada Post Sql

    I wouldn't know where to look! AND the CanadaPost option isn't listed in Admin / Modules /shipping

  5. #5
    Join Date
    Jan 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Canada Post Sql

    OK, sorry for being dumb; in admin/config/product listing, these values are there but not all; there's no lbbs/kgs etc

  6. #6
    Join Date
    Jan 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Canada Post Sql

    Quote Originally Posted by FMMap View Post
    I wouldn't know where to look! AND the CanadaPost option isn't listed in Admin / Modules /shipping
    OK, found them in the dB, all values are there, BUT no Canada Post option comes up in admin.

  7. #7
    Join Date
    Jan 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Canada Post Sql

    I think I've solved the problem. The CP module now shows up (misssed some uploads).

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

    Default Re: Canada Post Sql

    Thanks for the updates on what was missing on your site for this ... always a help to others with similar issues ...
    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. #9
    Join Date
    Mar 2007
    Location
    Ottawa, Canada
    Posts
    9
    Plugin Contributions
    0

    Default Re: Canada Post Sql

    Hi, Linda

    I am in Canada and I need to install Canada Post to my ZENcart/LenkArt.
    What should I do?

    Thanks, Elena

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Canada Post Sql

    reply posted to your other thread about installation (since this thread is about a SQL challenge instead of how to install).
    http://www.zen-cart.com/forum/showthread.php?t=59717
    .

    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. Canada Post Shipping Module - SQL failed to run
    By sjmills93 in forum Addon Shipping Modules
    Replies: 3
    Last Post: 25 Apr 2010, 04:43 AM
  2. HELP.... Canada Post Errors installing SQL changes!!!
    By dpet102 in forum Addon Payment Modules
    Replies: 1
    Last Post: 27 Jun 2009, 11:57 PM
  3. sql command to change values - Canada Post
    By tony_sar in forum Addon Shipping Modules
    Replies: 1
    Last Post: 14 Mar 2009, 07:49 PM
  4. Canada Post Mod vs SQL INJECT alert with SHOPPING_CART.php
    By imfsub12 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Oct 2008, 08:52 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