cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to apply supee-11155 on Magento 1.8.0

Highlighted

Failed to apply supee-11155 on Magento 1.8.0

Hi

I tried to apply the patch for supee 11155 but I keep getting this errors below, any idea hos to solve this ? 

Thank you

ERROR: Patch can't be applied/reverted successfully.

patching file app/Mage.php
Hunk #1 FAILED at 812.
1 out of 1 hunk FAILED -- saving rejects to file app/Mage.php.rej
patching file app/code/core/Mage/Admin/Model/Block.php
Hunk #1 succeeded at 53 with fuzz 2 (offset -4 lines).
patching file app/code/core/Mage/Admin/Model/User.php
Hunk #1 succeeded at 559 (offset -24 lines).
patching file app/code/core/Mage/AdminNotification/etc/system.xml
patching file app/code/core/Mage/Adminhtml/Block/Api/Role/Grid/User.php
patching file app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config.php
Hunk #1 FAILED at 155.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config.php.rej
patching file app/code/core/Mage/Adminhtml/Block/Newsletter/Queue/Preview.php
patching file app/code/core/Mage/Adminhtml/Block/Newsletter/Template/Preview.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Role/Grid/User.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Creditmemo/Grid.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Invoice/Grid.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Header.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Order/Creditmemo/Create.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Order/Invoice/Create.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Order/View.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Shipment/Grid.php
patching file app/code/core/Mage/Adminhtml/Block/Sales/Transactions/Grid.php
patching file app/code/core/Mage/Adminhtml/Block/System/Email/Template/Preview.php
patching file app/code/core/Mage/Adminhtml/Block/Template.php
patching file app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Abstract.php
patching file app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php
Hunk #1 FAILED at 180.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php.rej
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Baseurl.php
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Locale.php
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized/Array.php
patching file app/code/core/Mage/Adminhtml/controllers/Catalog/Product/AttributeController.php
Hunk #1 succeeded at 156 (offset -1 lines).
patching file app/code/core/Mage/Adminhtml/controllers/Catalog/Product/ReviewController.php
patching file app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php
Hunk #1 succeeded at 539 (offset -11 lines).
patching file app/code/core/Mage/Adminhtml/controllers/Checkout/AgreementController.php
patching file app/code/core/Mage/Adminhtml/controllers/Newsletter/TemplateController.php
patching file app/code/core/Mage/Adminhtml/controllers/Promo/CatalogController.php
Hunk #1 succeeded at 122 (offset -11 lines).
patching file app/code/core/Mage/Adminhtml/controllers/Promo/QuoteController.php
Hunk #1 succeeded at 121 (offset -12 lines).
patching file app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreateController.php
patching file app/code/core/Mage/Adminhtml/controllers/SitemapController.php
Hunk #1 succeeded at 33 with fuzz 2.
Hunk #2 succeeded at 135 (offset -11 lines).
patching file app/code/core/Mage/Adminhtml/controllers/System/Email/TemplateController.php
patching file app/code/core/Mage/Catalog/Helper/Product.php
patching file app/code/core/Mage/Catalog/controllers/Product/CompareController.php
patching file app/code/core/Mage/Checkout/Model/Session.php
patching file app/code/core/Mage/Checkout/controllers/OnepageController.php
Hunk #1 succeeded at 605 (offset 42 lines).
patching file app/code/core/Mage/Cms/Helper/Data.php
Hunk #1 FAILED at 37.
Hunk #2 succeeded at 58 with fuzz 2 (offset -16 lines).
1 out of 2 hunks FAILED -- saving rejects to file app/code/core/Mage/Cms/Helper/Data.php.rej
patching file app/code/core/Mage/Cms/Model/Wysiwyg/Config.php
patching file app/code/core/Mage/Cms/etc/config.xml
patching file app/code/core/Mage/Compiler/Model/Process.php
patching file app/code/core/Mage/Core/Helper/Abstract.php
Hunk #1 succeeded at 384 (offset -38 lines).
patching file app/code/core/Mage/Core/Helper/Data.php
patching file app/code/core/Mage/Core/Model/Design/Package.php
patching file app/code/core/Mage/Core/Model/Email/Template/Filter.php
patching file app/code/core/Mage/Core/Model/File/Validator/AvailablePath.php
patching file app/code/core/Mage/Core/Model/Observer.php
patching file app/code/core/Mage/Core/etc/config.xml
patching file app/code/core/Mage/Core/functions.php
patching file app/code/core/Mage/CurrencySymbol/Model/System/Currencysymbol.php
patching file app/code/core/Mage/Downloadable/controllers/DownloadController.php
patching file app/code/core/Mage/SalesRule/Model/Coupon/Massgenerator.php
patching file app/code/core/Mage/SalesRule/Model/Resource/Report/Rule/Createdat.php
patching file app/code/core/Mage/Sendfriend/etc/config.xml
patching file app/code/core/Mage/Sendfriend/etc/system.xml
patching file app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/configurable.phtml
patching file app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml
Hunk #1 FAILED at 59.
1 out of 1 hunk FAILED -- saving rejects to file app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml.rej
patching file app/design/adminhtml/default/default/template/catalog/product/tab/inventory.phtml
patching file app/design/adminhtml/default/default/template/currencysymbol/grid.phtml
patching file app/design/adminhtml/default/default/template/customer/tab/addresses.phtml
patching file app/design/adminhtml/default/default/template/customer/tab/view.phtml
patching file app/design/adminhtml/default/default/template/notification/window.phtml
patching file app/design/adminhtml/default/default/template/sales/order/create/data.phtml
patching file app/design/adminhtml/default/default/template/sales/order/view/info.phtml
patching file app/design/adminhtml/default/default/template/system/currency/rate/matrix.phtml
patching file app/locale/en_US/Mage_Adminhtml.csv
Hunk #2 succeeded at 244 (offset -2 lines).
Hunk #3 succeeded at 863 (offset -2 lines).
Hunk #4 succeeded at 971 (offset -2 lines).
patching file app/locale/en_US/Mage_Core.csv
patching file app/locale/en_US/Mage_Sales.csv
patching file app/locale/en_US/Mage_Sitemap.csv
patching file js/mage/adminhtml/wysiwyg/tiny_mce/setup.js
patching file js/tiny_mce/plugins/media/js/media.js
patching file js/varien/js.js
3 REPLIES 3
Highlighted

Re: Failed to apply supee-11155 on Magento 1.8.0

Hello @tarik_marvin 

 

Install Magento SUPEE 11155 without SSH after taking a back up of your store.

You can refer the method at https://meetanshi.com/blog/install-magento-supee-11155/

 

Hope it helps.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
Highlighted

Re: Failed to apply supee-11155 on Magento 1.8.0

Hi @tarik_marvin 
Have you applied all the previous patches on your site? Like SUPEE-11086, SUPEE-8788 and SUPEE-10888.

---
Problem Solved Click Accept as Solution!:Magento Community India Forum
Highlighted

Re: Failed to apply supee-11155 on Magento 1.8.0

In our blog  we have mentioned https://magecomp.com/blog/how-to-install-magento-security-patches/

There are some space or line issues while updating the patch.
For example,

It has been set that at this line, a particular code needs to be changed, if the patch doesn’t find the code at the specified line it throws this error.

 

Every code line had a CRLF line (empty line) under it. This could be the reason for this error. You will need to find the file and remove these lines between code from files. In short file needs to match exactly what Magento has in its repository for the patch to apply.

 

Solution

1. Make sure you have installed all the older patches properly.
2. If you want to check manually, check the error properly, find out the file, and check the code patch is trying to find is on same line or not and fix it (It would be too hectic).

 

My Recommendation,

Go ahead and upgrade your Magento version to the latest Magento 1.9.4.3 which includes all the security patches. You can contact any Magento Agency or developer if you don't know how to.

Found something useful, "Kudos" and "Accept as Solution" for Token of Appreciation.

Magento Tutorials