Magento Forum

   
Order Section Errors after upgrade to 1.5.1
 
Darsh
Member
 
Total Posts:  71
Joined:  2008-06-21
 

Can some one explain whats going n wrong over here.
This issue happened while upgrade testing.

a:5:{i:0;s:55:"Cannot retrieve entity config: sales/order_status_label";i:1;s:5786:"#0 /home/user/public_html/app/code/core/Mage/Core/Model/Resource.php(161): Mage::throwException('Cannot retrieve...')
#1 /home/user/public_html/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(262): Mage_Core_Model_Resource->getTableName('sales/order_sta...')
#2 /home/user/public_html/app/code/core/Mage/Sales/Model/Mysql4/Order/Status.php(53): Mage_Core_Model_Mysql4_Abstract->getTable('sales/order_sta...')
#3 /home/user/public_html/app/code/core/Mage/Core/Model/Resource/Abstract.php(38): Mage_Sales_Model_Mysql4_Order_Status->_construct()
#4 /home/user/public_html/app/code/core/Mage/Core/Model/Config.php(1254): Mage_Core_Model_Resource_Abstract->__construct(Array)
#5 /home/user/public_html/app/code/core/Mage/Core/Model/Config.php(1287): Mage_Core_Model_Config->getModelInstance('sales_mysql4/or...', Array)
#6 /home/user/public_html/app/Mage.php(460): Mage_Core_Model_Config->getResourceModelInstance('sales/order_sta...', Array)
#7 /home/user/public_html/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php(449): Mage::getResourceModel('sales/order_sta...')
#8 /home/user/public_html/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php(118): Mage_Core_Model_Mysql4_Collection_Abstract->getResource()
#9 /home/user/public_html/app/code/core/Mage/Core/Model/Config.php(1254): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Array)
#10 /home/user/public_html/app/code/core/Mage/Core/Model/Config.php(1287): Mage_Core_Model_Config->getModelInstance('sales_mysql4/or...', Array)
#11 /home/user/public_html/app/Mage.php(460): Mage_Core_Model_Config->getResourceModelInstance('sales/order_sta...', Array)
#12 /home/user/public_html/app/code/core/Mage/Sales/Model/Order/Config.php(113): Mage::getResourceModel('sales/order_sta...')
#13 /home/user/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php(120): Mage_Sales_Model_Order_Config->getStatuses()
#14 /home/user/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(596): Mage_Adminhtml_Block_Sales_Order_Grid->_prepareColumns()
#15 /home/user/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(604): Mage_Adminhtml_Block_Widget_Grid->_prepareGrid()
#16 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(757): Mage_Adminhtml_Block_Widget_Grid->_beforeToHtml()
#17 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#18 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml('grid', true)
#19 /home/user/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php(70): Mage_Core_Block_Abstract->getChildHtml('grid')
#20 /home/user/public_html/app/design/adminhtml/default/default/template/widget/grid/container.phtml(36): Mage_Adminhtml_Block_Widget_Grid_Container->getGridHtml()
#21 /home/user/public_html/app/code/core/Mage/Core/Block/Template.php(216): include('/home/user/public...')
#22 /home/user/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#23 /home/user/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#24 /home/user/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#25 /home/user/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Container.php(295): Mage_Adminhtml_Block_Template->_toHtml()
#26 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Widget_Container->_toHtml()
#27 /home/user/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#28 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Core_Block_Text_List->_toHtml()
#29 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#30 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#31 /home/user/public_html/app/design/adminhtml/default/default/template/page.phtml(74): Mage_Core_Block_Abstract->getChildHtml('content')
#32 /home/user/public_html/app/code/core/Mage/Core/Block/Template.php(216): include('/home/user/public...')
#33 /home/user/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#34 /home/user/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#35 /home/user/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#36 /home/user/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#37 /home/user/public_html/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#38 /home/user/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(389): Mage_Core_Model_Layout->getOutput()
#39 /home/user/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(95): Mage_Core_Controller_Varien_Action->renderLayout()
#40 /home/user/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->indexAction()
#41 /home/user/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('index')
#42 /home/user/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#43 /home/user/public_html/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#44 /home/user/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#45 /home/user/public_html/index.php(80): Mage::run('', 'store')
#46 {main}"
;s:3:"url";s:69:"/index.php/cp/sales_order/index/key/b151e49cafc541bb71b749dbbe93ecb4/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

 
Magento Community Magento Community
Magento Community
Magento Community
 
ladle
Sr. Member
 
Avatar
Total Posts:  172
Joined:  2009-06-11
 

I would drop those tables that have to do with sales labels, and re-run the sql statement to build them.  It sounds like some info is missing.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Darsh
Member
 
Total Posts:  71
Joined:  2008-06-21
 

This is what fixed it. Reinstalled 1.4.1 refreshed the indexes clear cache. flush cache.
visit order it works. - front end down

Reinstall 1.5.1
refresh cache - flush cache
rebuild index

visit orders it works

visit front end tit works.

 
Magento Community Magento Community
Magento Community
Magento Community
 
misagarcia
Member
 
Total Posts:  33
Joined:  2010-08-30
 

What does this mean… I’m having problems accepting orders after upgrade to 1.5.1 - seems like it doesn’t redirect to paypal in the check out process… not sure what the problem is

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top