Database 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 sortorder' at line 1
Invalid query: SELECT id,alias,title_en title, CONCAT('/index.php?t=products&a=','','¶m1=',alias) link FROM product_subcategories WHERE status=1 AND category_id= ORDER BY sortorder
Backtrace:
File: | /home/greenbay/public_html/index.php |
Line: | 5 |
Function: | include |
File: | /home/greenbay/public_html/init.php |
Line: | 246 |
Function: | include |
File: | /home/greenbay/public_html/include/products.php |
Line: | 147 |
Function: | fn_get_products_data |
File: | /home/greenbay/public_html/include/products.php |
Line: | 37 |
Function: | db_get_array |
File: | /home/greenbay/public_html/core/database.php |
Line: | 14 |
Function: | db_query |
File: | /home/greenbay/public_html/core/db_mysql.php |
Line: | 63 |
Function: | db_debug_error |