Magento Forum

   
Error:SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name ‘times_used’
 
365video
Jr. Member
 
Total Posts:  1
Joined:  2008-08-23
 

Hi,

I install Magento error,please help me,Thanks!

mysql version 5.0.51b

Error in file"D:\PHPnowbak\htdocs\magento\app\code\core\Mage\SalesRule\sql\salesrule_setup\mysql4-upgrade-0.7.1-0.7.2.php" SQLSTATE[42S21]Column already exists1060 Duplicate column name 'times_used'
Trace:
#0 D:\PHPnowbak\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(280): Mage::exception('Mage_Core', 'Error in file: ...')
#1 D:\PHPnowbak\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(172): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '0.7.0', '0.7.6')
#2 D:\PHPnowbak\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(139): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('0.7.0', '0.7.6')
#3 D:\PHPnowbak\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(114): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 D:\PHPnowbak\htdocs\magento\app\code\core\Mage\Core\Model\Config.php(209): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 D:\PHPnowbak\htdocs\magento\app\code\core\Mage\Core\Model\App.php(230): Mage_Core_Model_Config->init(Array)
#6 D:\PHPnowbak\htdocs\magento\app\Mage.php(397): Mage_Core_Model_App->init('', 'store', Array)
#7 D:\PHPnowbak\htdocs\magento\app\Mage.php(416): Mage::app('', 'store', Array)
#8 D:\PHPnowbak\htdocs\magento\index.php(46): Mage::run()
#9 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
kulimuli
Sr. Member
 
Total Posts:  151
Joined:  2008-03-31
Linz, Oberösterreich
 

Hi,

hast Du schon einmal Magento installiert und die Daten aus der Datenbank nicht vollständig gelöscht, oder in die selbe Datenbank installiert welche Du auch für eine andere Webseite nutzt?

LG
kulimuli

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