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 ') AND cscart_payments.status = 'A' AND (cscart_payment_p' at line 7 (1064)
Invalid query: SELECT cscart_payments.payment_id, cscart_payments.a_surcharge, cscart_payments.p_surcharge, cscart_payments.usergroup_ids, cscart_payment_descriptions.* FROM cscart_payments LEFT JOIN cscart_payment_descriptions ON cscart_payments.payment_id = cscart_payment_descriptions.payment_id AND cscart_payment_descriptions.lang_code = 'EN' LEFT JOIN cscart_payment_processors ON cscart_payment_processors.processor_id = cscart_payments.processor_id WHERE 1 AND () AND cscart_payments.status = 'A' AND (cscart_payment_processors.type != 'C' OR cscart_payments.processor_id = 0) ORDER BY cscart_payments.position


Backtrace:
File:/home/damcyg74/www/premium.inexus.us/core/fn.database.php
Line:310
Function:db_error
File:/home/damcyg74/www/premium.inexus.us/core/fn.database.php
Line:70
Function:db_query
File:/home/damcyg74/www/premium.inexus.us/addons/local/func.php
Line:97
Function:db_get_hash_array
File:/home/damcyg74/www/premium.inexus.us/core/fn.control.php
Line:72
Function:fn_local_get_payment_methods
File:/home/damcyg74/www/premium.inexus.us/core/fn.cart.php
Line:214
Function:fn_set_hook
File:/home/damcyg74/www/premium.inexus.us/controllers/customer/checkout.php
Line:912
Function:fn_get_payment_methods
File:/home/damcyg74/www/premium.inexus.us/controllers/customer/checkout.php
Line:457
Function:fn_prepare_checkout_payment_methods
File:/home/damcyg74/www/premium.inexus.us/core/fn.control.php
Line:531
Function:include
File:/home/damcyg74/www/premium.inexus.us/core/fn.control.php
Line:396
Function:fn_run_controller
File:/home/damcyg74/www/premium.inexus.us/index.php
Line:75
Function:fn_dispatch