Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2010
    Posts
    153
    Plugin Contributions
    0

    Default 1062 Duplicate entry 'SHOW_PRODUCT_INFO_CONDITION' installing numinix product fields

    ok so i uploaded all the files using ftp and went to install the .sql file and got the following error message....

    1062 Duplicate entry 'SHOW_PRODUCT_INFO_CONDITION' for key 2
    in:
    [INSERT INTO zen_product_type_layout (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, product_type_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Show Condition', 'SHOW_PRODUCT_INFO_CONDITION', '0', 'Show product condition on product info page (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),');]
    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.

    any ideas?

  2. #2
    Join Date
    Jan 2010
    Posts
    153
    Plugin Contributions
    0

    Default Re: problem installing numinix product fields

    can anyone help me?

  3. #3
    Join Date
    Jul 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: problem installing numinix product fields

    I got the same error - does anyone know the fix?
    heteromorphic.com

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

    Default Re: problem installing numinix product fields

    1062 Duplicate entry 'SHOW_PRODUCT_INFO_CONDITION' ...
    It means that setting is already in your database, and doesn't need to be re-added.

    So, if you don't mind losing whatever that addon installed initially, run its uninstall so it can remove everything it ever added, and then re-run the install to set it up afresh again.

    Of course, always backup your database before running any sql scripts on it. And always test on a TEST COPY of your site first, never on your live site directly.
    .

    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.

  5. #5
    Join Date
    Jul 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: problem installing numinix product fields

    Thanks! Just in case that file came from another mod; is there any way to "remove" from the scipt to get the rest to run by chance? Just needed to ask - sql clueless newbie :)
    If not, any way to find out if another mod is "using" that already?

    Thanks!

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

    Default Re: problem installing numinix product fields

    If you have enough SQL knowledge, you could comment-out, or just delete the SQL statements that have already been run, and thereby only run the statements after those ones. You might need to do that repeatedly.
    But since you're having problems with a mod written by an author who supports his stuff on another website, you're probably better off asking him directly, since he has much more specialized knowledge about it than people like me who don't even use the mod.

    As for finding out if a constant such as SHOW_PRODUCT_INFO_CONDITION is used anyplace else, you could use the Developers Toolkit to do a search for it, using the "search ALL files" option at the bottom of the list of search choices.
    .

    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.

  7. #7
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: problem installing numinix product fields

    I installed Numinix_Product_Fields. The second description does not appear in the Product info page!

    I have added:
    PHP Code:
    <!-- bof Product description 2 -->
    <?php if ($products_description2 != '') { ?>
    <div id="productDescription2" class="productGeneral biggerText"><?php echo stripslashes($products_description2); ?></div>
    <br class="clearBoth" />
    <?php ?>
    <!-- eof Product description 2 -->
    to
    tpl_product_info_display.php


    I have also set the following in Product Type Info Page Layout options :: Product - General
    Name:  Capture55.jpg
Views: 107
Size:  13.5 KB

    Any ideas why Second description is not showing up.

    ps. I do see the products_description2 field in the products_description table
    Using Zen Cart 1.5.1

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

    Default Re: problem installing numinix product fields

    Numinix supports their plugins at www.numinix.com
    .

    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.

  9. #9
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: problem installing numinix product fields

    Quote Originally Posted by Kevin205 View Post
    Any ideas why Second description is not showing up.
    Apparently you are missing some code.

    Somewhere in the php file there will/should be code that reads the data from....
    products_description2 field in the products_description table

    ...and assigns it to the variable named "$products_description2"

    Cheers
    Rod

 

 

Similar Threads

  1. Replies: 0
    Last Post: 26 Aug 2011, 03:42 AM
  2. 1062 Duplicate entry
    By pkohn11 in forum General Questions
    Replies: 4
    Last Post: 5 Apr 2011, 09:09 PM
  3. 1062 Duplicate Entry
    By AlexanderL in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 24 Jan 2011, 07:46 PM
  4. Replies: 3
    Last Post: 27 Mar 2008, 07:48 PM

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