Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2011
    Posts
    7
    Plugin Contributions
    0

    Default problem loading attribute values

    I have run into a problem in attributes today. I'm using 1.39h version and i keep getting this code in attribute values.

    1062 Duplicate entry '1-1' for key 1
    in:
    [insert into zen_products_options_values (products_options_values_id, language_id, products_options_values_name, products_options_values_sort_order) values ('1', '1', 'mustard hot', '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.
    I have gone back and cleared and deleted the previous and reattempted twice and still i'm getting this error.
    Any help would be greatly appreciated.

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

    Default Re: problem loading attribute values

    Go to phpMyAdmin and see if you have any records in the table:
    products_options_values

    If not, then click on SQL and run:

    TRUNCATE products_options_values;
    Next, in the SQL run:
    INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');
    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!

  3. #3
    Join Date
    May 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: problem loading attribute values

    Quote Originally Posted by Ajeh View Post
    Go to phpMyAdmin and see if you have any records in the table:
    products_options_values

    If not, then click on SQL and run:



    Next, in the SQL run:
    Thank's a million the values where out of sync and your reply was the correct fix.
    Thanks again.

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

    Default Re: problem loading attribute values

    Thanks for the update that you were able to correct this issue and clean things up ...
    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!

 

 

Similar Threads

  1. v155 Attribute controller - error message when adding attribute values
    By rustwood in forum General Questions
    Replies: 8
    Last Post: 11 Jul 2016, 10:26 PM
  2. Attribute Controller - Prices and Weight - Decimal Values Problem
    By GoldBuckle in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 7 Oct 2015, 12:03 PM
  3. Copy attribute values to a different attribute name
    By pageblair in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Jul 2010, 05:24 PM
  4. Slowness when loading page with many attribute values
    By jameszeller in forum Setting Up Categories, Products, Attributes
    Replies: 27
    Last Post: 9 Feb 2010, 10:56 PM
  5. Linking attribute values to to product values (for custom gift baskets)
    By peaceviddie in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Jul 2008, 09:22 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