2011-09-19 263 views
1

我想通過在magento 1.5v中的magento連接安裝Google Content API for Shopping。但是我得到了錯誤。任何指針?Magento擴展不安裝

CONNECT ERROR: Package 'Mage_Core_Modules' is invalid 
'./app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php' already exists 
Package 'Lib_Varien' is invalid 
'./lib/Varien/Autoload.php' already exists 
Package 'Lib_Google_Checkout' is invalid 
'./lib/googlecheckout/googlecart.php' already exists 
Package 'Lib_Js_Calendar' is invalid 
'./js/calendar/calendar-blue.css' already exists 
Package 'Lib_Js_Mage' is invalid 
'./js/lib/FABridge.js' already exists 
Package 'Lib_Phpseclib' is invalid 
'./lib/phpseclib/Crypt/AES.php' already exists 
Package 'Mage_Locale_en_US' is invalid 
'./app/locale/en_US/Mage_AdminNotification.csv' already exists 
Package 'Lib_Mage' is invalid 
'./lib/Mage/Archive/Abstract.php' already exists 
Package 'Lib_ZF' is invalid 
'./lib/Zend/Acl/Assert/Interface.php' already exists 
Package 'Lib_ZF_Locale' is invalid 
'./lib/Zend/Locale/Data/Translation.php' already exists 

回答

1

我知道這是一個非常古老的問題,但我有以防萬一別人有同樣的問題的答案。

要在安裝時克服這樣的錯誤,只需刪除模塊所說的「已存在」的文件即可。這將允許安裝人員將文件複製到預定位置。

基礎上的問題,你會刪除:

./app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php 
./lib/Varien/Autoload.php 
./lib/googlecheckout/googlecart.php 
./js/calendar/calendar-blue.css 
./js/lib/FABridge.js 
./lib/phpseclib/Crypt/AES.php 
./app/locale/en_US/Mage_AdminNotification.csv 
./lib/Mage/Archive/Abstract.php 
./lib/Zend/Acl/Assert/Interface.php 
./lib/Zend/Locale/Data/Translation.php 

刪除這些文件後,重試安裝,它會工作。

備註:編寫該模塊的人將替換法師核心文件和/lib/Varien/Autoload.php。核心mod應該被複制到app/code/local/或者只是覆蓋正確的方式。