ArrayObject Object ( [exception] => Zend_Db_Statement_Exception Object ( [message:protected] => 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 3 [string:private] => [code:protected] => 0 [file:protected] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Db\Statement\Pdo.php [line:protected] => 227 [trace:private] => Array ( [0] => Array ( [file] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Db\Statement.php [line] => 298 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Db\Adapter\Abstract.php [line] => 262 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Db\Adapter\Pdo\Abstract.php [line] => 206 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => select rating_id,rating,count from rating where rating_source_id=1 and source_id= [1] => Array ( ) ) ) [3] => Array ( [file] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Db\Adapter\Abstract.php [line] => 469 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => select rating_id,rating,count from rating where rating_source_id=1 and source_id= [1] => Array ( ) ) ) [4] => Array ( [file] => C:\FalconOnline\falconapps\application\modules\content\models\ratingClass.php [line] => 16 [function] => fetchAll [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => select rating_id,rating,count from rating where rating_source_id=1 and source_id= ) ) [5] => Array ( [file] => C:\FalconOnline\falconapps\application\modules\content\models\ratingClass.php [line] => 26 [function] => getRating [class] => ratingClass [type] => -> [args] => Array ( [0] => 1 [1] => ) ) [6] => Array ( [file] => C:\FalconOnline\falconapps\application\modules\content\controllers\IndexController.php [line] => 455 [function] => saveRating [class] => ratingClass [type] => -> [args] => Array ( [0] => 1 [1] => [2] => 2 ) ) [7] => Array ( [file] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Controller\Action.php [line] => 497 [function] => saveArticleRatingAction [class] => Content_IndexController [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Controller\Dispatcher\Standard.php [line] => 237 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => savearticleratingAction ) ) [9] => Array ( [file] => C:\FalconOnline\php5\ZendFramework-1.0.0\library\Zend\Controller\Front.php [line] => 911 [function] => dispatch [class] => Zend_Controller_Dispatcher_Standard [type] => -> [args] => Array ( [0] => Zend_Controller_Request_Http Object ( [_requestUri:protected] => /content/index/saveArticleRating/area/8/section/28/articleid//rating/2 [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /content/index/saveArticleRating/area/8/section/28/articleid//rating/2 [_params:protected] => Array ( [module] => content [controller] => index [action] => saveArticleRating [area] => 8 [section] => 28 [articleid] => [rating] => 2 [error_handler] => ArrayObject Object *RECURSION* ) [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => content [_moduleKey:protected] => module [_controller:protected] => error [_controllerKey:protected] => controller [_action:protected] => error [_actionKey:protected] => action ) [1] => Zend_Controller_Response_Http Object ( [_body:protected] => Array ( ) [_exceptions:protected] => Array ( [0] => Zend_Db_Statement_Exception Object *RECURSION* ) [_headers:protected] => Array ( ) [_headersRaw:protected] => Array ( ) [_httpResponseCode:protected] => 200 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 ) ) ) [10] => Array ( [file] => C:\FalconOnline\websites\cherokee\html\index.php [line] => 108 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) ) ) [type] => EXCEPTION_OTHER [request] => Zend_Controller_Request_Http Object ( [_requestUri:protected] => /content/index/saveArticleRating/area/8/section/28/articleid//rating/2 [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /content/index/saveArticleRating/area/8/section/28/articleid//rating/2 [_params:protected] => Array ( [module] => content [controller] => index [action] => saveArticleRating [area] => 8 [section] => 28 [articleid] => [rating] => 2 ) [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => content [_moduleKey:protected] => module [_controller:protected] => index [_controllerKey:protected] => controller [_action:protected] => saveArticleRating [_actionKey:protected] => action ) ) 1