| 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 active = '1' ORDER BY `order` ASC, title ASC' at line 1 |
|---|
| /usr/hosting/fmag.lt/www/library/Zend/Db/Statement/Pdo.php |
#0 /usr/hosting/fmag.lt/www/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /usr/hosting/fmag.lt/www/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /usr/hosting/fmag.lt/www/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT * FROM c...', Array)
#3 /usr/hosting/fmag.lt/www/library/Zend/Db/Adapter/Abstract.php(745): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM c...', Array)
#4 /usr/hosting/fmag.lt/www/application/classes/categories.php(22): Zend_Db_Adapter_Abstract->fetchAssoc('SELECT * FROM c...')
#5 /usr/hosting/fmag.lt/www/application/classes/categories.php(36): Categories->getCategories(NULL, true)
#6 /usr/hosting/fmag.lt/www/application/classes/Site/Controller.php(125): Categories->getTree(NULL, 1)
#7 /usr/hosting/fmag.lt/www/application/classes/Site/Controller.php(168): Site_Controller->getActiveCategory()
#8 /usr/hosting/fmag.lt/www/application/default/controllers/ArticlesController.php(19): Site_Controller->generateMenu()
#9 /usr/hosting/fmag.lt/www/library/Zend/Controller/Action.php(133): ArticlesController->init()
#10 /usr/hosting/fmag.lt/www/library/Zend/Controller/Dispatcher/Standard.php(262): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array)
#11 /usr/hosting/fmag.lt/www/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#12 /usr/hosting/fmag.lt/www/index.php(11): Zend_Controller_Front->dispatch()
#13 {main}