Magento扩展无法安装

时间:2011-09-19 10:26:58

标签: magento

我正在尝试通过magento 1.5v中的magento connect安装Google Content API for Shopping但是我收到了错误。有什么指针?

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 个答案:

答案 0 :(得分: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

删除这些文件后,重试安装即可。

旁注:编码该模块的人正在替换Mage Core文件和/lib/Varien/Autoload.php。核心模型应该复制到app/code/local/或者只是覆盖正确的方式。