Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Problem login admin after upgrade 1.4.0.1 to 1.4.1.0
 
lszklar
Jr. Member
 
Total Posts:  1
Joined:  2009-06-29
 

a:5:{i:0;s:108:"SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘xxxxxxx_cpmagento.sales_flat_order’ doesn’t exist";i:1;s:3774:"#0 /home/xxxxxxx/public_html/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/xxxxxxx/public_html/lib/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /home/xxxxxxx/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(’SELECT SUM((mai...’, Array)
#3 /home/xxxxxxx/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query(’SELECT SUM((mai...’, Array)
#4 /home/xxxxxxx/public_html/lib/Zend/Db/Adapter/Abstract.php(706): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#5 /home/xxxxxxx/public_html/lib/Varien/Data/Collection/Db.php(713): Zend_Db_Adapter_Abstract->fetchAll(Object(Varien_Db_Select), Array)
#6 /home/xxxxxxx/public_html/lib/Varien/Data/Collection/Db.php(626): Varien_Data_Collection_Db->_fetchAll(Object(Varien_Db_Select))
#7 /home/xxxxxxx/public_html/lib/Varien/Data/Collection/Db.php(596): Varien_Data_Collection_Db->getData()
#8 /home/xxxxxxx/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard/Totals.php(68): Varien_Data_Collection_Db->load()
#9 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Block/Abstract.php(218): Mage_Adminhtml_Block_Dashboard_Totals->_prepareLayout()
#10 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/Layout.php(430): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#11 /home/xxxxxxx/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard.php(45): Mage_Core_Model_Layout->createBlock(’adminhtml/dashb...’)
#12 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Block/Abstract.php(218): Mage_Adminhtml_Block_Dashboard->_prepareLayout()
#13 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/Layout.php(430): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#14 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/Layout.php(446): Mage_Core_Model_Layout->createBlock(’adminhtml/dashb...’, ‘dashboard’)
#15 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/Layout.php(238): Mage_Core_Model_Layout->addBlock(’adminhtml/dashb...’, ‘dashboard’)
#16 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/Layout.php(204): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#17 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#18 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Core_Model_Layout->generateBlocks()
#19 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(270): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#20 /home/xxxxxxx/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(263): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
#21 /home/xxxxxxx/public_html/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(40): Mage_Adminhtml_Controller_Action->loadLayout()
#22 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_DashboardController->indexAction()
#23 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#24 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#26 /home/xxxxxxx/public_html/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#27 /home/xxxxxxx/public_html/index.php(78): Mage::run(’’, ‘store’)
#28 {main}”;s:3:"url”;s:70:"/index.php/admin/dashboard/index/key/36810afdd96711d59e55ea9abc0d9570/”;s:11:"script_name”;s:10:"/index.php”;s:4:"skin”;s:5:"admin";}

http://www.canalpack.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
SimpleHelixcom
Enthusiast
 
Avatar
Total Posts:  906
Joined:  2007-08-31
Huntsville, AL
 

Hi there,

So sorry for your recent troubles. Fortunately, we’ve seem them all, and in this situation, the best steps you can take is to take a full backup of your files and database.

Next, load up a second, fresh store of version 1.4.1.0 with the same database prefix into a subfolder, for example, domain.com/clean

Download and insert the Magento database repair tool located here:

http://www.magentocommerce.com/download

Into your document root.

Run the repair tool and fill out a brief bit of information, and it should automatically clean things up and fix any problems.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Weis
Member
 
Avatar
Total Posts:  44
Joined:  2009-02-27
Kiev, Ukraine
 

Hi lszklar,

Your magento installation was not upgraded properly.
sales_flat_order table should exist definitely.

If you have backup of non upgraded installation, it\’s very cool.
If no - use repair tool, as SimpleHelix.com said.

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