请解决Magento中的错误

时间:2017-04-17 04:45:55

标签: magento

文件错误:

  

/ home / mystyletag / public_html / app / code / local / AccessShop / ThemeOptions / data / themeoptions_setup / data-install-1.0.5.php` - 所选商店中已存在具有相同属性的块标识符。< / p>

跟踪:

  

#0 /home/mystyletag/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(644):Mage :: exception('Mage_Core','文件错误:...... “)       #1 /home/mystyletag/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(391):Mage_Core_Model_Resource_Setup-&gt; _modifyResourceDb('data-install','','1.0.5' )       #2 /home/mystyletag/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(289):Mage_Core_Model_Resource_Setup-&gt; _installData('1.0.5')       #3 /home/mystyletag/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(269):Mage_Core_Model_Resource_Setup-&gt; applyDataUpdates()       #4 /home/mystyletag/public_html/app/code/core/Mage/Core/Model/App.php(362):Mage_Core_Model_Resource_Setup :: applyAllDataUpdates()       #5 /home/mystyletag/public_html/app/Mage.php(684):Mage_Core_Model_App-> run(Array)       #6 /home/mystyletag/public_html/index.php(83):Mage :: run('','store')       #7 {main}

错误日志记录编号:1170042499126

1 个答案:

答案 0 :(得分:1)

根据错误,它显示已在具有相同标识符的数据库中创建静态块。因此,您可以从db中删除特定的identifier静态块,然后再次运行主题安装。