Forums / Upgrading from 1.3.x to 1.3.9 / 1.3.7 to 1.3.8a Upgrade error

1.3.7 to 1.3.8a Upgrade error

Locked

Views: 1,664

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
11 Jan 2008, 8:15 AM
#1
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

1.3.7 to 1.3.8a Upgrade error

Hi,

I have stock install of 1.3.7 with only a template mod. I get the following error when trying to upgrade.

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');]

Does this make sense to anyone? Also now in my admin it shows I have version 1.3.7/1.3.8 even though the upgrade did not start.

11 Jan 2008, 8:30 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: 1.3.7 to 1.3.8a Upgrade error

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