Forums / Upgrading from 1.3.x to 1.3.9 / Error 1062 Duplicate Entry

Error 1062 Duplicate Entry

Locked

Started by betsysue on 31 May 2008, 11:19 AM · Views: 2,083

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
31 May 2008, 11:19 AM
#1
betsysue avatar

betsysue

New Zenner

Join Date:
Apr 2007
Posts:
2
Plugin Contributions:
0

Error 1062 Duplicate Entry

I am upgrading (I think) from v1.3.7 to v1.3.8a - when I click upgrade database, this is what I get.

1062 Duplicate entry 'Customers who have never completed a purchase' for key 2
in:
[INSERT INTO zen_query_builder (query_category, query_name, query_description , query_string) VALUES ('email,newsletters', 'Customers who have never completed a purchase', 'For sending newsletter to all customers who registered but have never completed a purchase', 'SELECT DISTINCT c.customers_email_address as customers_email_address, c.customers_lastname as customers_lastname, c.customers_firstname as customers_firstname FROM TABLE_CUSTOMERS c LEFT JOIN TABLE_ORDERS o ON c.customers_id=o.customers_id WHERE o.date_purchased IS NULL');]

I am so totally frusturated with this. I have been trying to follow the instructions and readme files to a T - please, please don't tell me to look at them because obviously I don't understand them. Can someone please help me using layman's terms?

Thank you!

31 May 2008, 3:12 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Error 1062 Duplicate Entry

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.