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 'AND w.widoczna=1' at line 7' in /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#3 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT k.*,w.na...', Array)
#4 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Adapter/Abstract.php(725): Zend_Db_Adapter_Pdo_Abstract->query('SELECT k.*,w.na...', Array)
#5 /home/pckompc/public_html/dk-trade/application/Model/Kategoria.php(37): Zend_Db_Adapter_Abstract->fetchRow('SELECT k.*,w.na...')
#6 /home/pckompc/public_html/dk-trade/application/controllers/CatalogueController.php(20): Model_Kategoria->fetch()
#7 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Controller/Action.php(513): CatalogueController->indexAction()
#8 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('indexAction')
#9 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/pckompc/public_html/dk-trade/index.php(73): Zend_Controller_Front->dispatch()
#11 {main}
Next exception 'Zend_Db_Statement_Exception' 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 'AND w.widoczna=1' at line 7' in /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Statement/Pdo.php:234
Stack trace:
#0 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT k.*,w.na...', Array)
#3 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Db/Adapter/Abstract.php(725): Zend_Db_Adapter_Pdo_Abstract->query('SELECT k.*,w.na...', Array)
#4 /home/pckompc/public_html/dk-trade/application/Model/Kategoria.php(37): Zend_Db_Adapter_Abstract->fetchRow('SELECT k.*,w.na...')
#5 /home/pckompc/public_html/dk-trade/application/controllers/CatalogueController.php(20): Model_Kategoria->fetch()
#6 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Controller/Action.php(513): CatalogueController->indexAction()
#7 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('indexAction')
#8 /home/pckompc/public_html/dk-trade/library/zend1.10.3/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /home/pckompc/public_html/dk-trade/index.php(73): Zend_Controller_Front->dispatch()
#10 {main}