Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2012
    Posts
    196
    Plugin Contributions
    0

    Default 1062 Duplicate Entry Error Help

    I am getting the following error "WARNING: An Error occurred, please refresh the page and try again." when I try to upload / send an sql file. When I looked in my debug file I got the following

    "PHP Fatal error: 1062uplicate entry 'COLUMN_WIDTH' for key 'unq_config_key_zen' :: INSERT INTO zc_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, '<font color="#0044ff">ACTIVATE Responsive Template by selecting Column Widths</font>', 'COLUMN_WIDTH', '2', 'Width of the Left and Right Columns<br />0 = Use Default Template Settings<br />1 = 75px<br />2 = 150px<br />3 = 225px',@configuration_group_id, NULL, NOW(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),'); in /home3/firstcap/public_html/zencart/includes/classes/db/mysql/query_factory.php on line 120"

    What do I need to do to fix this so I can continue.

    Any help / guidance is greatly appreciated.

    Thanks
    Mark

  2. #2
    Join Date
    Jul 2012
    Posts
    16,740
    Plugin Contributions
    17

    Default Re: 1062 Duplicate Entry Error Help

    Quote Originally Posted by firstcapitalfirearms View Post
    I am getting the following error "WARNING: An Error occurred, please refresh the page and try again." when I try to upload / send an sql file. When I looked in my debug file I got the following

    "PHP Fatal error: 1062uplicate entry 'COLUMN_WIDTH' for key 'unq_config_key_zen' :: INSERT INTO zc_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, '<font color="#0044ff">ACTIVATE Responsive Template by selecting Column Widths</font>', 'COLUMN_WIDTH', '2', 'Width of the Left and Right Columns<br />0 = Use Default Template Settings<br />1 = 75px<br />2 = 150px<br />3 = 225px',@configuration_group_id, NULL, NOW(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),'); in /home3/firstcap/public_html/zencart/includes/classes/db/mysql/query_factory.php on line 120"

    What do I need to do to fix this so I can continue.

    Any help / guidance is greatly appreciated.

    Thanks
    Mark
    You more than likely already have installed the responsive template sql that is listed in that "command. Check to see if you have that option shown. I think it is located in the configuration section, layout settings area. Possibly as the first option listed. If you see any descriptiv e text in the above statement that is better than what you have already, then further direction could probably be provided.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v151 error: 1062 : Duplicate entry
    By Kevin205 in forum General Questions
    Replies: 5
    Last Post: 18 Apr 2014, 02:15 PM
  2. ERROR message help 1062 Duplicate entry for key 1 in db_cache
    By shartlesville in forum General Questions
    Replies: 4
    Last Post: 30 Aug 2012, 03:21 AM
  3. ERROR message help 1062 Duplicate entry '1-1' for key 1
    By worshamdesigns in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 11 Feb 2011, 12:58 AM
  4. Error 1062 Duplicate Entry
    By Betsysue in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 31 May 2008, 04:12 PM
  5. Error 1062 Duplicate Entry
    By reddog73 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 8 Sep 2006, 06:44 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