2016-01-29 92 views
0

對ssh不太熟悉,但未能應用新的magento補丁。在1.4.1.0版的罰款上應用了補丁。下載並去其他站點申請1.8.1.0補丁並失敗。任何援助將不勝感激。爲Magento 1.8.10應用補丁7405

[email protected] [~/public_html]# bash 7405.sh 
Checking if patch can be applied/reverted successfully... 
ERROR: Patch can't be applied/reverted successfully. 

patching file app/code/core/Mage/Admin/Model/Observer.php 
patching file app/code/core/Mage/Admin/Model/Redirectpolicy.php 
patching file app/code/core/Mage/Admin/Model/Resource/User.php 
patching file app/code/core/Mage/Admin/Model/Session.php 
patching file app/code/core/Mage/Admin/Model/User.php 
patching file app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/History.php 
patching file app/code/core/Mage/Adminhtml/Block/Widget/Grid.php 
patching file app/code/core/Mage/Adminhtml/Helper/Catalog/Product/Edit/Action/Attribute.php 
patching file app/code/core/Mage/Adminhtml/Helper/Sales.php 
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php 
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Image.php 
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Image/Favicon.php 
patching file app/code/core/Mage/Adminhtml/controllers/IndexController.php 
patching file app/code/core/Mage/Authorizenet/Helper/Admin.php 
patching file app/code/core/Mage/Authorizenet/Helper/Data.php 
patching file app/code/core/Mage/Authorizenet/controllers/Adminhtml/Authorizenet/Directpost/PaymentController.php 
patching file app/code/core/Mage/Captcha/etc/config.xml 
patching file app/code/core/Mage/Catalog/Block/Product/View/Options/Type/Select.php 
patching file app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php 
patching file app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php 
patching file app/code/core/Mage/CatalogIndex/etc/config.xml 
patching file app/code/core/Mage/CatalogInventory/Helper/Minsaleqty.php 
patching file app/code/core/Mage/Checkout/Block/Cart/Item/Renderer.php 
patching file app/code/core/Mage/Checkout/controllers/CartController.php 
patching file app/code/core/Mage/Checkout/controllers/OnepageController.php 
patching file app/code/core/Mage/Core/Controller/Response/Http.php 
patching file app/code/core/Mage/Core/Helper/Data.php 
patching file app/code/core/Mage/Core/Model/App.php 
patching file app/code/core/Mage/Core/Model/Config.php 
patching file app/code/core/Mage/Core/Model/Email/Template/Filter.php 
Hunk #1 FAILED at 166. 
Hunk #2 succeeded at 177 (offset -10 lines). 
1 out of 2 hunks FAILED -- saving rejects to file app/code/core/Mage/Core/Model/Email/Template/Filter.php.rej 
patching file app/code/core/Mage/Core/Model/File/Validator/Image.php 
patching file app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php 
patching file app/code/core/Mage/Core/Model/Session.php 
patching file app/code/core/Mage/Customer/controllers/AccountController.php 
Hunk #1 succeeded at 65 (offset -3 lines). 
patching file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php 
Hunk #2 FAILED at 264. 
1 out of 2 hunks FAILED -- saving rejects to file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php.rej 
patching file app/code/core/Mage/Downloadable/controllers/CustomerController.php 
patching file app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php 
patching file app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php 
Hunk #2 FAILED at 118. 
Hunk #3 succeeded at 121 (offset -12 lines). 
1 out of 3 hunks FAILED -- saving rejects to file app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php.rej 
patching file app/code/core/Mage/ImportExport/Model/Import/Entity/Abstract.php 
patching file app/code/core/Mage/ImportExport/etc/config.xml 
patching file app/code/core/Mage/ImportExport/etc/system.xml 
patching file app/code/core/Mage/Newsletter/Model/Observer.php 
patching file app/code/core/Mage/Newsletter/Model/Queue.php 
patching file app/code/core/Mage/Page/etc/system.xml 
patching file app/code/core/Mage/Paypal/controllers/PayflowController.php 
patching file app/code/core/Mage/Paypal/controllers/PayflowadvancedController.php 
patching file app/code/core/Mage/Paypal/etc/config.xml 
patching file app/code/core/Mage/Persistent/etc/config.xml 
patching file app/code/core/Mage/Review/controllers/ProductController.php 
patching file app/code/core/Mage/Rss/Block/Catalog/Salesrule.php 
patching file app/code/core/Mage/Rss/Helper/Order.php 
patching file app/code/core/Mage/Sales/Helper/Guest.php 
patching file app/code/core/Mage/Sales/Model/Quote/Address.php 
patching file app/code/core/Mage/Sales/Model/Quote/Item.php 
can't find file to patch at input line 2168 
Perhaps you used the wrong -p or --strip option? 
The text leading up to this was: 
-------------------------- 
|diff --git app/code/core/Zend/Xml/Security.php app/code/core/Zend/Xml/Security.php 
|index a3cdbc8..8b697b9 100644 
|--- app/code/core/Zend/Xml/Security.php 
|+++ app/code/core/Zend/Xml/Security.php 
-------------------------- 
File to patch: 
Skip this patch? [y] 
Skipping patch. 
3 out of 3 hunks ignored 
patching file app/design/adminhtml/default/default/template/authorizenet/directpost/iframe.phtml 
patching file app/design/adminhtml/default/default/template/bundle/sales/creditmemo/create/items/renderer.phtml 
patching file app/design/adminhtml/default/default/template/bundle/sales/creditmemo/view/items/renderer.phtml 
patching file app/design/adminhtml/default/default/template/bundle/sales/invoice/create/items/renderer.phtml 
patching file app/design/adminhtml/default/default/template/bundle/sales/invoice/view/items/renderer.phtml 
patching file app/design/adminhtml/default/default/template/bundle/sales/order/view/items/renderer.phtml 
patching file app/design/adminhtml/default/default/template/bundle/sales/shipment/create/items/renderer.phtml 
patching file app/design/adminhtml/default/default/template/bundle/sales/shipment/view/items/renderer.phtml 
patching file app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/file.phtml 
patching file app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/creditmemo/name.phtml 
patching file app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/invoice/name.phtml 
patching file app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/name.phtml 
patching file app/design/adminhtml/default/default/template/sales/items/column/name.phtml 
patching file app/design/adminhtml/default/default/template/sales/items/renderer/default.phtml 
patching file app/design/adminhtml/default/default/template/sales/order/totals/discount.phtml 
patching file app/design/adminhtml/default/default/template/sales/order/view/info.phtml 
patching file app/design/frontend/base/default/template/catalog/product/view/options/type/file.phtml 
patching file app/design/frontend/base/default/template/rss/order/details.phtml 
Hunk #1 succeeded at 77 (offset -1 lines). 
patching file lib/Varien/File/Uploader.php 
patching file lib/Varien/Io/File.php 
Hunk #1 FAILED at 227. 
1 out of 1 hunk FAILED -- saving rejects to file lib/Varien/Io/File.php.rej 
+0

你可能已經改變了一些核心文件 –

+0

更適合[Magento的StackExchange(http://magento.stackexchange.com) –

+1

由於Stack Overflow是一個[編程相關](http://stackoverflow.com/help/on-topic)問答站點,因此我正在投票關閉此問題。你的問題不是關於編程。也許你應該在http://magento.stackexchange.com上發佈它呢? – Enigmativity

回答

0

請檢查以前的所有補丁是否安裝了安裝補丁時使用的php版本。 請檢查應用程序的/ etc/applied.patches.list以前修補

感謝