文件错误:“/ home /siddharth /iphp / imagento / app / core / Mage / Admin / sql / admin_setup / install-1.6.0.0.php” - SQLSTATE [42S01]:基表或视图已存在:1050表'admin_role'已存在
跟踪:
#0 /home/siddharth/iphp/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /home/siddharth/iphp/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.1.1')
#2 /home/siddharth/iphp/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.1.1')
#3 /home/siddharth/iphp/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home/siddharth/iphp/magento/app/code/core/Mage/Core/Model/App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home/siddharth/iphp/magento/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#6 /home/siddharth/iphp/magento/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#7 /home/siddharth/iphp/magento/index.php(87): Mage::run('', 'store')
#8 {main}
答案 0 :(得分:2)
1)转到服务器上的localhost或mysql并删除提供错误的表...
2)清除Cookie并再次刷新该页面
3)如果同样的错误仍然存在,则第二步然后关闭浏览器并重新启动...这将删除所有cookie和缓存然后再次点击URL ...对所有出现的错误执行以下步骤...之后这个成功的完成将会完成......