2016-11-25 157 views
0

当我运行补丁安装命令通过CLI我看到这下面的错误。 请告诉我我错在哪里。 我已经安装以下版本补丁只在这里我面临这个问题。Magento 1.9.1.0错误安装补丁PATCH_SUPEE-8788_CE

sh PATCH_SUPEE-8788_CE_1.9.1.0_v2-2016-10-14-09-38-31.sh 
Checking if patch can be applied/reverted successfully... 
ERROR: Patch can't be applied/reverted successfully. 

patching file app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Gallery/Content.php 
patching file app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Uploader.php 
patching file app/code/core/Mage/Adminhtml/Block/Media/Uploader.php 
patching file app/code/core/Mage/Adminhtml/Block/Urlrewrite/Category/Tree.php 
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php 
patching file app/code/core/Mage/Adminhtml/controllers/DashboardController.php 
patching file app/code/core/Mage/Adminhtml/controllers/IndexController.php 
patching file app/code/core/Mage/Adminhtml/controllers/Media/UploaderController.php 
patching file app/code/core/Mage/Catalog/Helper/Image.php 
patching file app/code/core/Mage/Catalog/etc/config.xml 
patching file app/code/core/Mage/Catalog/etc/system.xml 
patching file app/code/core/Mage/Centinel/Model/Api.php 
patching file app/code/core/Mage/Centinel/Model/Api/Client.php 
patching file app/code/core/Mage/Core/Block/Abstract.php 
patching file app/code/core/Mage/Core/Helper/Url.php 
patching file app/code/core/Mage/Core/Model/Encryption.php 
patching file app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php 
patching file app/code/core/Mage/Core/functions.php 
patching file app/code/core/Mage/Customer/Block/Address/Book.php 
patching file app/code/core/Mage/Customer/controllers/AddressController.php 
patching file app/code/core/Mage/Dataflow/Model/Profile.php 
patching file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php 
patching file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php 
patching file app/code/core/Mage/Downloadable/Helper/File.php 
patching file app/code/core/Mage/Oauth/Model/Server.php 
patching file app/code/core/Mage/Paygate/Model/Authorizenet.php 
patching file app/code/core/Mage/Payment/Block/Info/Checkmo.php 
patching file app/code/core/Mage/Paypal/Model/Express/Checkout.php 
patching file app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php 
patching file app/code/core/Mage/Sales/Model/Resource/Order/Payment.php 
patching file app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php 
patching file app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php 
patching file app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php 
patching file app/code/core/Mage/Uploader/Block/Abstract.php 
patching file app/code/core/Mage/Uploader/Block/Multiple.php 
patching file app/code/core/Mage/Uploader/Block/Single.php 
patching file app/code/core/Mage/Uploader/Helper/Data.php 
patching file app/code/core/Mage/Uploader/Helper/File.php 
patching file app/code/core/Mage/Uploader/Model/Config/Abstract.php 
patching file app/code/core/Mage/Uploader/Model/Config/Browsebutton.php 
patching file app/code/core/Mage/Uploader/Model/Config/Misc.php 
patching file app/code/core/Mage/Uploader/Model/Config/Uploader.php 
patching file app/code/core/Mage/Uploader/etc/config.xml 
patching file app/code/core/Mage/Uploader/etc/jstranslator.xml 
patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php 
patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php 
patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php 
patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php 
patching file app/code/core/Mage/Usa/etc/config.xml 
patching file app/code/core/Mage/Usa/etc/system.xml 
patching file app/code/core/Mage/Wishlist/Helper/Data.php 
patching file app/code/core/Mage/Wishlist/controllers/IndexController.php 
patching file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design.php 
patching file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Images.php 
patching file app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php 
patching file app/design/adminhtml/default/default/layout/cms.xml 
patching file app/design/adminhtml/default/default/layout/main.xml 
patching file app/design/adminhtml/default/default/layout/xmlconnect.xml 
patching file app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml 
patching file app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml 
patching file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable.phtml 
patching file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/links.phtml 
patching file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/samples.phtml 
patching file app/design/adminhtml/default/default/template/media/uploader.phtml 
patching file app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design.phtml 
patching file app/etc/modules/Mage_All.xml 
patching file app/locale/en_US/Mage_Media.csv 
patching file app/locale/en_US/Mage_Uploader.csv 
patching file downloader/lib/Mage/HTTP/Client/Curl.php 
patching file js/lib/uploader/flow.min.js 
patching file js/lib/uploader/fusty-flow-factory.js 
patching file js/lib/uploader/fusty-flow.js 
patching file js/mage/adminhtml/product.js 
patching file js/mage/adminhtml/uploader/instance.js 
patching file lib/Unserialize/Parser.php 
patching file lib/Unserialize/Reader/Arr.php 
patching file lib/Unserialize/Reader/ArrValue.php 
patching file lib/Unserialize/Reader/Null.php 
patching file skin/adminhtml/default/default/boxes.css 
patching file skin/adminhtml/default/default/media/flex.swf 
Reversed (or previously applied) patch detected! Assume -R? [n] 
Apply anyway? [n] 
Skipping patch. 
1 out of 1 hunk ignored -- saving rejects to file skin/adminhtml/default/default/media/flex.swf.rej 
patching file skin/adminhtml/default/default/media/uploader.swf 
Reversed (or previously applied) patch detected! Assume -R? [n] 
Apply anyway? [n] 
Skipping patch. 
1 out of 1 hunk ignored -- saving rejects to file skin/adminhtml/default/default/media/uploader.swf.rej 
patching file skin/adminhtml/default/default/media/uploaderSingle.swf 
Reversed (or previously applied) patch detected! Assume -R? [n] 
Apply anyway? [n] 
Skipping patch. 
1 out of 1 hunk ignored -- saving rejects to file skin/adminhtml/default/default/media/uploaderSingle.swf.rej 
patching file skin/adminhtml/default/default/xmlconnect/boxes.css 

回答

0

请先仔细阅读后再应用以下步骤。

我得到的解决方案,如果你已经改变了核心文件,那么这个错误会来。 这里有非常简单的解决方案,下载任何magento的升级版本,然后使用升级文件 替换当前的核心文件,然后执行前端URL,它将自动使用可用的修补程序更新magento。

注意:您可以注意降级您的升级版本,以便请备份文件和数据库,以便保存您的数据。

1

您在运行命令时可以看到这些错误。这意味着该文件与补丁冲突。您可以用您的版本替换,然后再次运行您的命令。

简单的,你可以去通https://magentary.com/kb/install-supee-8788-without-ssh/下载文件并执行,以你的Magento在未检测到您需要删除法师报告8788。

/skin/adminhtml/default/default/media/flex.swf 
/skin/adminhtml/default/default/media/uploader.swf 
/skin/adminhtml/default/default/media/uploaderSingle.swf 

注意:在进行此操作前,请备份您的网站。