Date : 17-12-12 23:32:17
ERROR!
Exception code: 1064
Exception message:  
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 11
Thrown by: '/home/ccwls1/domains/whitelabel.comfortclick.co.uk/public_html/site/checkout/lib/dbcontroller/DbMysql.class.php' on line: 177
Stack trace: #0 /home/ccwls1/domains/whitelabel.comfortclick.co.uk/public_html/site/checkout/lib/dbcontroller/DbMysql.class.php(62): DbMysql->throwMysqlException()
#1 /home/ccwls1/domains/whitelabel.comfortclick.co.uk/public_html/site/checkout/lib/dbcontroller/DbControl.class.php(104): DbMysql->query('SELECT \n\t\t\t\t\t\t\t...')
#2 /home/ccwls1/domains/whitelabel.comfortclick.co.uk/public_html/site/checkout/lib/dbcontroller/DbControl.class.php(283): DbControl->initiate()
#3 /home/ccwls1/domains/whitelabel.comfortclick.co.uk/public_html/site/checkout/Model/ShopCart.cls.php(180): DbControl->fetchOneRow('SELECT \n\t\t\t\t\t\t\t...')
#4 /home/ccwls1/domains/whitelabel.comfortclick.co.uk/public_html/site/checkout/cart_header_ajax.php(59): ShopCart->AddItem(NULL, 1, NULL, NULL)
#5 {main}

Client script: /site/checkout/cart_header_ajax.php