2014-12-03 109 views
0

在安裝magento 1.9.0.1時,我有以下errors.Please幫助我,所以我可以繼續。感謝在advaance:Magento在初始化時安裝錯誤

Error in file: "/mnt/stor2-wc1-dfw1/397232/.technobird.com/web/content/magento/app/code/core/Mage/Cms/data/cms_setup/data-install-1.6.0.0.php" - A block identifier with the same properties already exists in  
the selected store. 
Trace: 
    #0 /mnt/stor2-wc1dfw1/397232/.technobird.com/web/content/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...') 
    #1 /mnt/stor2-wc1-dfw1/397232/technobird.com/web/content/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(391): Mage_Core_Model_Resource_Setup->_modifyResourceDb('data-install', '', '1.6.0.0.2') 
    #2 /mnt/stor2-wc1-dfw1/397232/technobird.com/web/content/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(289): Mage_Core_Model_Resource_Setup->_installData('1.6.0.0.2') 
    #3 /mnt/stor2-wc1-dfw1/397232/.technobird.com/web/content/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(269): Mage_Core_Model_Resource_Setup->applyDataUpdates() 
    #4 /mnt/stor2-wc1-dfw1/397232/.technobird.com/web/content/magento/app/code/core/Mage/Core/Model/App.php(351): Mage_Core_Model_Resource_Setup::applyAllDataUpdates() 
    #5 /mnt/stor2-wc1-dfw1/397232/.technobird.com/web/content/magento/app/Mage.php(684): Mage_Core_Model_App->run(Array) 
    #6 /mnt/stor2-wc1-dfw1/397232/ 

technobird.com/web/content/magento/index.php(87):法師::運行( '', '存儲') #7 {主}

回答

0

我剛剛嘗試設置另一個Magento時遇到了同樣的問題。 要安裝到PUSH通過我不得不使用phpmyadmin刪除表,當設置呻吟在我,他們已經exsisted。 當我得到錯誤,你有我能解決它的唯一辦法是刪除「cms_block_store」&「cms_page」的內容希望可以幫助你。

0

我有同樣的問題。我通過去phpmyadmin並刪除cms_block表中的重複塊來修復它。

0

看起來有一個CMS塊導致了這個問題。這可能是第三方擴展的一部分。您必須從錯誤報告中找到塊標識符,並在備份內容和其他詳細信息後嘗試刪除它。刷新緩存以重新創建塊,並確認它創建塊。

如果這不能解決您的問題,請轉到創建塊並評論零件的腳本。您可以從錯誤報告中找到文件詳細信息,它可能是一個SQL腳本(GRP/EXT/sql/mysqlx-your-headache-file.php)。

請確保在評論零件後一切正常。 就是這樣。