Log has this in it
Code:
PHP Fatal error: 1062:Duplicate entry 'Customers who have never completed a purchase' for key 'query_name' :: INSERT INTO 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'); in /home/armorhea/public_html/includes/classes/db/mysql/query_factory.php on line 120
Off to search for 1062uplicate entry
Bookmarks