An error occurred

Application error

Exception information:

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 '' at line 1, query was: UPDATE album set views=views+1 WHERE album_id=

Stack trace:

#0 /home/Zend/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute()
#1 /home/Zend/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#2 /home/Zend/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query()
#3 /home/hamrochords/App/application/models/Item.php(391): Zend_Db_Adapter_Pdo_Abstract->query()
#4 /home/hamrochords/App/application/models/Item.php(380): Application_Model_Item->_increaseViewDB()
#5 /home/hamrochords/App/application/modules/default/controllers/ItemController.php(32): Application_Model_Item->increaseView()
#6 /home/Zend/Zend/Controller/Action.php(516): ItemController->indexAction()
#7 /home/Zend/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()
#8 /home/Zend/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#9 /home/Zend/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#10 /home/Zend/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#11 /home/hamrochords/public_html/index.php(54): Zend_Application->run()
#12 {main}  

Request Parameters:

array (
  'module' => 'default',
  'controller' => 'item',
  'action' => 'index',
  0 => 'anuprastha/guff',
  'slug' => 'guff',
)