Reputation: 385
My Magento version is 1.7.0.2.
It was working fine till I tried to create a new store.I added new website and the site went all crezy.I am new with magento don't know what to do.
This is the error message I am getting after changing local.xml.sample to local.xml
Error in file: "H:\xampp\htdocs\magento\app\code\core\Mage\Catalog\sql\catalog_setup\upgrade-1.6.0.0.9-1.6.0.0.10.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'catalog_product_entity_group_price' already exists
Trace:
#0 H:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 H:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '1.6.0.0.9', '1.6.0.0.14')
#2 H:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('1.6.0.0.9', '1.6.0.0.14')
#3 H:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 H:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 H:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(343): Mage_Core_Model_App->_initModules()
#6 H:\xampp\htdocs\magento\app\Mage.php(683): Mage_Core_Model_App->run(Array)
#7 H:\xampp\htdocs\magento\index.php(87): Mage::run('', 'store')
#8 {main}
Please help me out..
Upvotes: 0
Views: 5633
Reputation: 8809
Megha, go to the database table "core_resource" and look for "catalog_setup" in code field than set the version and data_version field value as 1.6.0.0.14, I feel that you have issue with these values. Once you done with it than clear the cache and refresh the page.
Upvotes: 3