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

app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception(’Mage_Core’, ‘Error in file: …’)
 
sannisinas
Member
 
Total Posts:  67
Joined:  2011-01-27
 

Hi All,

I am trying to upgrade from 1.5 to 1.7 but I am getting below error. I already re-indexed trough SSH, cleared cache, session etc

Anybody who could help me?

a:5:{i:0;s:287:"Error in file: "/home/digirail/public_html/upgrade/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-1.5.9.9-1.6.0.0.php" - SQLSTATE[HY000]: General error: 1025 Error on rename of './digirail_upgrade/#sql-1063_7db32b' to './digirail_upgrade/catalog_product_entity' (errno: 150)";i:1;s:1064:"#0 /home/digirail/public_html/upgrade/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /home/digirail/public_html/upgrade/app/code/core/Mage/Core/Model/Resource/Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '1.4.0.0.44', '1.6.0.0.14')
#2 /home/digirail/public_html/upgrade/app/code/core/Mage/Core/Model/Resource/Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('1.4.0.0.44', '1.6.0.0.14')
#3 /home/digirail/public_html/upgrade/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home/digirail/public_html/upgrade/app/code/core/Mage/Core/Model/App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home/digirail/public_html/upgrade/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#6 /home/digirail/public_html/upgrade/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#7 /home/digirail/public_html/upgrade/index.php(87): Mage::run('nl', 'store')
#8 {main}"
;s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top