Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 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 ' ip_address='54.234.67.55', quantity=1 ON DUPLICATE KEY UPDATE amount=amount+, q' at line 1' in /home/mrcell1/public_html/dealfanatic.com/library/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/mrcell1/public_html/dealfanatic.com/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/mrcell1/public_html/dealfanatic.com/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/mrcell1/public_html/dealfanatic.com/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/mrcell1/public_html/dealfanatic.com/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO pro...', Array)
#4 /home/mrcell1/public_html/dealfanatic.com/application/models/Product.php(1001): Zend in /home/mrcell1/public_html/dealfanatic.com/library/Zend/Db/Statement/Pdo.php on line 234