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 'ORDER BY rule_price ASC' at line 1
#0 /home/siti/bancariaeditrice.it/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/siti/bancariaeditrice.it/lib/Zend/Db/Adapter/Abstract.php(457): Zend_Db_Statement->execute(Array)
#2 /home/siti/bancariaeditrice.it/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SELECT * FROM c...', Array)
#3 /home/siti/bancariaeditrice.it/lib/Varien/Db/Adapter/Pdo/Mysql.php(281): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM c...', Array)
#4 /home/siti/bancariaeditrice.it/lib/Zend/Db/Adapter/Abstract.php(668): Varien_Db_Adapter_Pdo_Mysql->query('SELECT * FROM c...', Array)
#5 /home/siti/bancariaeditrice.it/app/code/local/Bancaria/Products/Helper/Data.php(706): Zend_Db_Adapter_Abstract->fetchAll('SELECT * FROM c...')
#6 /home/siti/bancariaeditrice.it/app/design/frontend/default/default/template/products/product/general.phtml(7): Bancaria_Products_Helper_Data->getGroupPrice(Object(Mage_Catalog_Model_Product), Array)
#7 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(144): include('/home/siti/banc...')
#8 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#9 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#10 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#11 /home/siti/bancariaeditrice.it/app/design/frontend/default/default/template/products/product/product.phtml(34): Mage_Core_Block_Abstract->toHtml()
#12 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(144): include('/home/siti/banc...')
#13 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#14 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#15 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#16 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#17 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#18 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#19 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#20 /home/siti/bancariaeditrice.it/app/design/frontend/default/default/template/products/product/template.phtml(63): Mage_Core_Block_Abstract->getChildHtml('content')
#21 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(144): include('/home/siti/banc...')
#22 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#23 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#24 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#25 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
#26 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput()
#27 /home/siti/bancariaeditrice.it/app/code/local/Bancaria/Products/controllers/VediController.php(78): Mage_Core_Controller_Varien_Action->renderLayout()
#28 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Bancaria_Products_VediController->prodottoAction()
#29 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch('prodotto')
#30 /home/siti/bancariaeditrice.it/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#31 /home/siti/bancariaeditrice.it/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#32 /home/siti/bancariaeditrice.it/index.php(69): Mage::run('default')
#33 {main}