New Zenner
- Join Date:
- Nov 2010
- Posts:
- 4
- Plugin Contributions:
- 0
1064:You have an error in your SQL syntax;
Fatal error: 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 'order by p.products_sort_order, pd.products_name order by p.products_sort_order,' at line 1
Website is https://www.handsonco.com
This error I have when I am trying to use search in my website. The order by statement repeated 3 times at the end of SQL. In order to find where is the error come from, I added to code /includes/modules/pages/advanced_search_results/header_php.php everywhere where I found “order by” numbers like " order 1 by”, “order 2 by” and so on. The strange think is just one occurrence of "order by" statement has this number. Looks like”
crl3x84120x%') )) order 3 by p.products_sort_order, pd.products_name order by p.products_sort_order, pd.products_name order by p.products_sort_order, pd.products_name limit 22 in /home/handsoo6/public_html/includes/classes/db/mysql/query_factory.php on line 120
I can’t figure out where other 2 occurrences in error message above come from
Thank you