Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2009
    Posts
    136
    Plugin Contributions
    0

    Default Upgrade Exceptions Table

    I keep getting these error messages when trying to upgrade: NOTE: Skipped upgrade statements: 3.

    I went into my phpAdmin to view the Upgrade Exceptions Table and am seeing this:

    ("PRIMARY" must be the name of and only of a primary key!)

    I selected to ignore this and then receive this error message in the table:

    MySQL said: Documentation
    No index parts defined!


    I assume I need to manually alter a field in this table so it will be ignored when running my upgrade. Any ideas on what to alter it to say? My options are to change the Index Type or Field. Within each of these are different options.

  2. #2
    Join Date
    Sep 2009
    Posts
    136
    Plugin Contributions
    0

    Default Re: Upgrade Exceptions Table

    I also see this:

    sqlstatement
    ALTER TABLE orders ADD INDEX idx_cust_id_orders_id...
    ALTER TABLE orders_products ADD INDEX idx_prod_id_...
    INSERT INTO configuration (configuration_title, co...


    but can't figure out to the read the rest of the statements. I thought maybe if I could read the statements I would know what to insert into the configure file and what to alter in the tables.......

  3. #3
    Join Date
    Sep 2009
    Posts
    136
    Plugin Contributions
    0

    Default Re: Upgrade Exceptions Table

    Ok I got the statements opened. Here is what the configuration one says to do:

    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Split Tax Lines', 'SHOW_SPLIT_TAX_CHECKOUT', 'false', 'If multiple tax rates apply, show each rate as a separate line at checkout', '1', '22', 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());

    Am I supposed to insert this entire paragraph or just the part that starts with VALUES to the end?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Upgrade Exceptions Table

    NO NO NO!

    It says they were Skipped ... for a reason: ie: they're already done.

    And that's because you're re-running the database upgrade over and over and over and over again.
    .

    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. Replies: 1
    Last Post: 9 Jul 2012, 12:58 PM
  2. Option Exceptions for Products?
    By mscottkirkwood in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Mar 2009, 06:33 PM
  3. SSL Problem - Modify tpl_footer with exceptions?
    By mlm2005 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Mar 2007, 12:50 PM
  4. Attribute Combination Exceptions?
    By smap in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 10 Jun 2006, 04:31 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