Forums / Upgrading from 1.3.x to 1.3.9 / 1062 Duplicate entry 'Customers who have never completed a purchase' for key 2

1062 Duplicate entry 'Customers who have never completed a purchase' for key 2

Locked

Views: 2,229

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Jul 2008, 3:21 PM
#1
elliesupport avatar

elliesupport

New Zenner

Join Date:
Jun 2008
Posts:
4
Plugin Contributions:
0

1062 Duplicate entry 'Customers who have never completed a purchase' for key 2

1062 Duplicate entry 'Customers who have never completed a purchase' for key 2
in:
[INSERT INTO ataste_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');]

Please can anyone tell me if they have seen or know or heard of any site having this error message when trying to upgrade the database?

Please Please Please !

2 Jul 2008, 8:04 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: 1062 Duplicate entry 'Customers who have never completed a purchase' for key 2

Look at the "similar threads" section at the bottom of this page for related discussions on the same matter.

.
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.