Zen Follower
- Join Date:
- Aug 2011
- Posts:
- 199
- Plugin Contributions:
- 0
Post #1 by devyani
Hi,
I am getting this error when trying to click on "new products" or "all products" link from the home page.
I am not well versed with ( or rather not at all versed with) SQL and syntaxes.
Please let me know what is the correct syntax.
Thanks. I am pasting the error exactly as it is below:
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 '*) as total FROM zen_products p left join zen_manufacturers m on (p.manufacture' at line 1
in:
[select count(distinct *) as total FROM zen_products p left join zen_manufacturers m on (p.manufacturers_id = m.manufacturers_id) left join zen_products_to_categories p2c on p.products_id = p2c.products_id left join zen_products_description pd on p.products_id = pd.products_id WHERE p.products_status = 1 AND pd.language_id = 1 and p.products_date_added >=20140706]