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 '?) AND (comment_status=1)' at line 1
#0 /home1/xassignm/public_html/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /home1/xassignm/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home1/xassignm/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `tbl_com...', Array) #3 /home1/xassignm/public_html/library/Zend/Db/Table/Abstract.php(1527): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /home1/xassignm/public_html/library/Zend/Db/Table/Abstract.php(1342): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /home1/xassignm/public_html/application/modules/admin/models/Comments.php(42): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select)) #6 /home1/xassignm/public_html/application/modules/blog/views/scripts/index/postdetails.phtml(4): Admin_Model_Comments->fetchThisPostComment(NULL) #7 /home1/xassignm/public_html/library/Zend/View.php(108): include('/home1/xassignm...') #8 /home1/xassignm/public_html/library/Zend/View/Abstract.php(888): Zend_View->_run('/home1/xassignm...') #9 /home1/xassignm/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php(897): Zend_View_Abstract->render(NULL) #10 /home1/xassignm/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/postdetai...', NULL) #11 /home1/xassignm/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render() #12 /home1/xassignm/public_html/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #13 /home1/xassignm/public_html/library/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #14 /home1/xassignm/public_html/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('postdetailsActi...') #15 /home1/xassignm/public_html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #16 /home1/xassignm/public_html/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #17 /home1/xassignm/public_html/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #18 /home1/xassignm/public_html/index.php(36): Zend_Application->run() #19 {main}
array ( 'id' => 'essay-writing-–-organise-your-thought-process', 'module' => 'blog', 'controller' => 'index', 'action' => 'postdetails', )