Database error: Unknown column 'A' in 'where clause' (1054)
Invalid query: SELECT *,sn.name as seo_name FROM cscart_categories as c LEFT JOIN cscart_category_descriptions as cd ON cd.category_id = c.category_id LEFT JOIN cscart_seo_names as sn ON sn.object_id = c.category_id AND sn.type = "c" WHERE status = "A" AND parent_id IN (165, 290, 167) AND sn.lang_code = 'RU' AND cd.lang_code = 'RU' AND sn.type = "c" AND sn.object_id = c.category_id ORDER BY position


Backtrace:
File:/usr/www/sugarelle.ru/core/fn.database.php
Line:259
Function:db_error
File:/usr/www/sugarelle.ru/core/fn.database.php
Line:29
Function:db_query
File:/usr/www/sugarelle.ru/controllers/customer/init.php
Line:100
Function:db_get_array
File:/usr/www/sugarelle.ru/core/fn.control.php
Line:590
Function:include
File:/usr/www/sugarelle.ru/core/fn.control.php
Line:442
Function:fn_run_controller
File:/usr/www/sugarelle.ru/index.php
Line:59
Function:fn_dispatch