Database error: 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 '/tmp/#sql_3044_0' at line 1 (1064)
Invalid query: SELECT cscart_categories.category_id,cscart_categories.parent_id,cscart_categories.id_path,cscart_category_descriptions.category,cscart_categories.position,cscart_categories.status,cscart_categories.age_verification,cscart_categories.age_limit,cscart_category_descriptions.age_warning_message FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_categories.category_id = cscart_category_descriptions.category_id AND cscart_category_descriptions.lang_code = 'EN' WHERE 1 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A') AND cscart_categories.parent_id IN (180) AND cscart_categories.id_path LIKE '180/%' ORDER BY cscart_categories.position asc, cscart_category_descriptions.category asc


Backtrace:
File:/home/scriptu/public_html/core/fn.database.php
Line:267
Function:db_error
File:/home/scriptu/public_html/core/fn.database.php
Line:54
Function:db_query
File:/home/scriptu/public_html/core/fn.catalog.php
Line:1261
Function:db_get_hash_array
File:/home/scriptu/public_html/core/fn.catalog.php
Line:934
Function:fn_get_categories
File:/home/scriptu/public_html/controllers/customer/categories.php
Line:62
Function:fn_get_subcategories
File:/home/scriptu/public_html/core/fn.control.php
Line:640
Function:include
File:/home/scriptu/public_html/core/fn.control.php
Line:459
Function:fn_run_controller
File:/home/scriptu/public_html/index.php
Line:22
Function:fn_dispatch