Fatal error: Uncaught 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 status=1 order by sort_order' at line 1' in /home/www/web32/web/library/Zend/Db/Statement/Pdo.php:227
Stack trace:
#0 /home/www/web32/web/library/Zend/Db/Statement.php(279): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/www/web32/web/library/Zend/Db/Adapter/Abstract.php(383): Zend_Db_Statement->execute(Array)
#2 /home/www/web32/web/library/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query('select * from m...', Array)
#3 /home/www/web32/web/application/models/Table/Brands.php(33): Zend_Db_Adapter_Pdo_Abstract->query('select * from m...')
#4 /home/www/web32/web/application/modules/frontend/auto/controllers/IndexController.php(32): Table_Brands->BrandInfo('daewoo')
#5 /home/www/web32/web/library/Zend/Controller/Action.php(497): Auto_Ind in /home/www/web32/web/library/Zend/Db/Statement/Pdo.php on line 227