Showing results for 
Search instead for 
Did you mean: 

Upgrade 1.5.1 to 1.9.1

Upgrade 1.5.1 to 1.9.1

Hi there,


I just tried to upgrade a Magento 1.5.1 shop to the latest version.


While Magento is updating the database there is the following error:


a:5:{i:0;s:287:"Error in file: "/var/www/vhosts/" - SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key";i:1;s:1116:"
#0 /var/www/vhosts/ Mage::exception('Mage_Core', 'Error in file: ...')
#1 /var/www/vhosts/ Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '', '')
#2 /var/www/vhosts/ Mage_Core_Model_Resource_Setup->_upgradeResourceDb('', '')
#3 /var/www/vhosts/ Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /var/www/vhosts/ Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /var/www/vhosts/ Mage_Core_Model_App->_initModules()
#6 /var/www/vhosts/ Mage_Core_Model_App->run(Array)
#7 /var/www/vhosts/ Mage::run('', 'store')
#8 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

I tried the upgrade severall times with no luck :-(. Please help me.


Thanks in advance






Re: Upgrade 1.5.1 to 1.9.1

Will you please specify the steps you have followed to upgrade your magento?

Re: Upgrade 1.5.1 to 1.9.1

It seems to be that have errors in setting up version of target. Do you explain more about what you did? If you tried it several times without changing, you can go to topic to find the right solution.

Tags (1)