Page 1 of 1

Duplicate entry for key 'group_key'

Posted: Thu Aug 16, 2018 2:34 pm
by dswtpl
I am receiving following error in my website. I can't solution for it. Kindly help me to fix following error.
018-08-14 17:10:17 - PHP Warning: mysqli::query(): (23000/1062): Duplicate entry '!~!ABC145ZQ62DWQAFPOIYCFD!~!1' for key 'group_key' in /home/project/public_html/system/library/db/mysqli.php on line 18

Re: Duplicate entry for key 'group_key'

Posted: Thu Aug 16, 2018 3:04 pm
by madgeek.in
The following happens when you are trying to create a table where the attributes or key already exists, if you are importing database kindly have a look at the sql dump, maybe flush the database before importing the data.

Re: Duplicate entry for key 'group_key'

Posted: Mon Aug 20, 2018 2:58 pm
by dswtpl
abhijit2294 wrote:
Thu Aug 16, 2018 3:04 pm
The following happens when you are trying to create a table where the attributes or key already exists, if you are importing database kindly have a look at the sql dump, maybe flush the database before importing the data.
I have not created a table on that. How do I know which table is affection for this error? There is not table mention to find error for that.