【问题标题】:magento admin assert issuemagento 管理员断言问题
【发布时间】:2013-12-21 12:18:56
【问题描述】:

文件错误:“/home/siddharth/iphp/magento/app/code/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}

【问题讨论】:

    标签: magento admin assert


    【解决方案1】:

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

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

    3) 如果相同的错误仍然存​​在,则在第二步后关闭浏览器并重新启动它...这将删除所有 cookie 和缓存,然后再次点击 url...对所有出现的错误执行这些步骤...之后这个成功的完成将会完成......

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-09-13
      • 1970-01-01
      • 2019-05-11
      • 1970-01-01
      • 2011-08-17
      • 1970-01-01
      • 2017-01-07
      相关资源
      最近更新 更多