首页 文章

magento admin断言问题

提问于
浏览
2

文件错误:“/ home /siddharth / iphp / imagent / app / core / Mage / Admin / sql / admin_setup / install-1.6.0.0.php” - SQLSTATE [42S01]:基表或视图已存在: 1050表'admin_role'已存在

Trace:

#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}

1 回答

  • 2

    1)转到服务器上的localhost或mysql并删除出错的表...

    2)清除cookie并再次刷新该页面

    3)如果同样的错误仍然存在,则第二步然后关闭浏览器并重新启动...这将删除所有cookie和缓存,然后再次点击URL ...对所有错误执行以下步骤...成功完成后将会完成...

相关问题