Zen Cart Logo
Forums / General Questions / 1062 Duplicate entry

1062 Duplicate entry

Views: 1,005

Results 1 to 5 of 5
4 Apr 2011, 5:39 PM
#1
pkohn11 avatar

pkohn11

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

1062 Duplicate entry

I have a fresh install of Zen Cart (newest version). Sometimes I get Duplicate entry errors. What are these from? I searched but didn't find anything. The latest one is this:

1062 Duplicate entry 'zc_56bef17b17fbeb6627441de26659411d' for key 'PRIMARY'
in:
[db_cache table]

4 Apr 2011, 8:38 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 1062 Duplicate entry

A bit more detail on where and what you are doing to see these

5 Apr 2011, 12:45 AM
#3
pkohn11 avatar

pkohn11

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

Re: 1062 Duplicate entry

kobra:

A bit more detail on where and what you are doing to see these

The two or three times I have seen it was when I was loading index of the site. One of the times there was a header and that was the only thing under it. The other two times there was something similar to that but it was the only thing that loaded on the page.

5 Apr 2011, 1:16 AM
#4
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: 1062 Duplicate entry

pkohn11:

The two or three times I have seen it was when I was loading index of the site. One of the times there was a header and that was the only thing under it. The other two times there was something similar to that but it was the only thing that loaded on the page.

This normally means that something is trying to insert something to the database that already exists. This could be a database table key like sessions (which are unique) or some other primary identify.

Have you tried to going to your admin clearing your cache directory? There is a link available for you to do this or you can do it manually. (Just make sure index.php and .htaccess stays intact.)

5 Apr 2011, 8:09 PM
#5
pkohn11 avatar

pkohn11

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

Re: 1062 Duplicate entry

retched:

This normally means that something is trying to insert something to the database that already exists. This could be a database table key like sessions (which are unique) or some other primary identify.

Have you tried to going to your admin clearing your cache directory? There is a link available for you to do this or you can do it manually. (Just make sure index.php and .htaccess stays intact.)

Thanks! I haven't seen it pop up since.