2016-11-25 387 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 

注意:在進行此操作前,請備份您的網站。