Magento Forum

Error : SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘Checkout_setup’ for key 1
 
alexjones
Jr. Member
 
Total Posts:  11
Joined:  2007-11-13
 

I’m getting this error, any idea how can it be fixed.

SQLSTATE[23000]Integrity constraint violation1062 Duplicate entry 'Checkout_setup' for key 1
Trace
:
#0 /var/www/vhosts/designious.com/httpdocs/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/vhosts/designious.com/httpdocs/lib/Zend/Db/Adapter/Abstract.php(457): Zend_Db_Statement->execute(Array)
#2 /var/www/vhosts/designious.com/httpdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('INSERT INTO `co...', Array)
#3 /var/www/vhosts/designious.com/httpdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php(281): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `co...', Array)
#4 /var/www/vhosts/designious.com/httpdocs/lib/Zend/Db/Adapter/Abstract.php(535): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `co...', Array)
#5 /var/www/vhosts/designious.com/httpdocs/app/code/core/Mage/Core/Model/Mysql4/Resource.php(92): Zend_Db_Adapter_Abstract->insert('core_resource', Array)
#6 /var/www/vhosts/designious.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php(222): Mage_Core_Model_Mysql4_Resource->setDbVersion('Checkout_setup', '0.1.0')
#7 /var/www/vhosts/designious.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php(167): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '0.1.0')
#8 /var/www/vhosts/designious.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php(155): Mage_Core_Model_Resource_Setup->_installResourceDb('0.1.0')
#9 /var/www/vhosts/designious.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php(121): Mage_Core_Model_Resource_Setup->applyUpdates()
#10 /var/www/vhosts/designious.com/httpdocs/app/code/core/Mage/Core/Model/Config.php(263): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#11 /var/www/vhosts/designious.com/httpdocs/app/code/core/Mage/Core/Model/App.php(263): Mage_Core_Model_Config->init(Array)
#12 /var/www/vhosts/designious.com/httpdocs/app/Mage.php(434): Mage_Core_Model_App->init('', 'store', Array)
#13 /var/www/vhosts/designious.com/httpdocs/app/Mage.php(455): Mage::app('', 'store', Array)
#14 /var/www/vhosts/designious.com/httpdocs/index.php(65): Mage::run()
#15 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
WebShopApps
Guru
 
Avatar
Total Posts:  460
Joined:  2008-05-30
London, UK
 

comment out checkout_setup in core_resource.

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