Hey Guys,
Odd problem I'm having here.
No doubt about it I'll find the solution instantly after posting a new thread. Worth a try anyway.
Ok, I've upgraded a 1.3.7 to a 1.3.8. This site has about 18,000 customers with about 13,000 orders. It's pushing ZC to the absolute limit!
Everything is going swimmingly. No issues with the upgrade except for one thing - the Query Builder stuff (when you want to email customers).
Firstly, when I clicked on 'email customer' from customers.php, I got an error about TABLE_CUSTOMERS not being found. Rather odd, so I removed the constant to 'customers' for the time being to remedy it temporarily.
Now though, the page is hanging. I've worked out it's on line 312 of admin/mail.php which is:
I quote that out and the page loads without any text.PHP Code:$customers = get_audiences_list('email');
After going into the query builder table (and removing various tags from the query_name field), I've found out that removing 'email,newsletters' from 'administrator' and 'customers who have never completed a purchase' gives me the following error:
Not sure if that's related to this, but it seems to be.1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE customers_email_format != 'NONE' order by customers_lastname, customers_fi' at line 1
in:
[select customers_email_address, customers_firstname, customers_lastname from customers WHERE customers_email_format != 'NONE' order by customers_lastname, customers_firstname, customers_email_address]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I have the following modules installed:
Amazon Populator
Google XML Sitemap
YSM Analytics Module
Cross Seller
Add Customer
Advanced Stats
Quantity Time Report
Search Log
Monthly Sales
Sales Report
Export Email Addresses
Orders Export
YSM Addon
Product Listing
Numinix Lightbox
Search Helper
Protx Form
NO IDEA whats happening here, but I have a feeling it's something to do with the upgrade.
Please help!!!!!
Thanks
Tom





