Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Down for Maintenance v2.1?


tim_ver

Recommended Posts

When I run the sql file I get this error:

MySQL said:

 

#1062 - Duplicate entry '16' for key 1

 

 

How do I fix this? I looked at the file and saw this ( INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('16', 'Website Maintenance', 'Website Maintenance Options', '16', '1'); )and thought I could change the 16 to 17 but not sure if I have to change other areas also in the file.??

 

 

 

Thanks

Link to comment
Share on other sites

  • 4 weeks later...
  • 7 months later...

For the record,

 

The error is caused by the SQL trying to create a record in your table configuration_group is item 16 which ia already taken up. Change all instances in the SQL to 17 (or greater) which should solve this problem.

 

Ed :thumbsup:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...