New Zenner
- Join Date:
- Jan 2008
- Posts:
- 90
- Plugin Contributions:
- 0
SQL Error in "Products Viewed" in v1.3.9f
I just upgraded to 1.3.9f from 1.3.9e and followed all the upgrade instructions for uploading the changed files.
Now when I go to view what products have been viewed I am getting this message...
Best Viewed Products
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 'select p.products_id, pd.products_name, pd.products_viewed, l.name from zen_prod' at line 1
in:
[select count(select p.products_id, pd.products_name, pd.products_viewed, l.name from zen_products p, zen_products_description pd, zen_languages l where p.products_id = pd.products_id and l.languages_id = pd.language_id order by pd.products_viewed DESC) as total ]
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'm also getting a similar error in the Search Log module I'm using. I assume it's caused by the same error. This is the message I'm getting there...
Search Log
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 'select search_results, search_term, search_time from zen_search_log order by sea' at line 1
in:
[select count(select search_results, search_term, search_time from zen_search_log order by search_time DESC) as total ]
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 use both of these features on a regular basis and right now they are broken.
Any ideas?