- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
After installing SUPEE-7405 I am having following issue.
Hunk #1 FAILED at 171.
Hunk #2 succeeded at 182 (offset -10 lines).
1 out of 2 hunks FAILED -- saving rejects to file app/code/core/Mage/Core/Model/Email/Template/Filter.php.rej
could you please help how to fix this issue.
Thanks
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check app/etc/applied.patches.list to see if SUPEE-6788 was applied.
The reason for hunk failures is because there is a mismatch between what the patch expects to find in the file and what is actually there. This happens for the following reasons:
- The core code in the file has been modified
- The file was uploaded with an SFTP client that did not properly translate line endings or that corrupted the file with added whitespace
- The file was expected to be changed by a previous security patch and the section being patched is not matching because the expected changes are not present.
The file in question was patched by SUPEE-6788
2015-11-04 06:48:40 UTC | SUPEE-6788 | CE_1.6.2.0 | v1 | ba4ae17ba0ef0baf204e2d616a428713d29e7968 | Tue Oct 27 13:15:35 2015 +0200 | baba978 patching file app/code/core/Mage/Core/Model/Email/Template/Filter.php
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will need to install security patches in the order released until you are up to the current level, so SUPEE-6788, then SUPEE-7405.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check app/etc/applied.patches.list to see if SUPEE-6788 was applied.
The reason for hunk failures is because there is a mismatch between what the patch expects to find in the file and what is actually there. This happens for the following reasons:
- The core code in the file has been modified
- The file was uploaded with an SFTP client that did not properly translate line endings or that corrupted the file with added whitespace
- The file was expected to be changed by a previous security patch and the section being patched is not matching because the expected changes are not present.
The file in question was patched by SUPEE-6788
2015-11-04 06:48:40 UTC | SUPEE-6788 | CE_1.6.2.0 | v1 | ba4ae17ba0ef0baf204e2d616a428713d29e7968 | Tue Oct 27 13:15:35 2015 +0200 | baba978 patching file app/code/core/Mage/Core/Model/Email/Template/Filter.php
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: magento 1.9.1.1 SUPEE-7405 saving rejects
Thank you Chiefair for this reply. I checked and this patch (SUPEE-6788) is not there even the patch SUPEE-7405 is not in the list.
Please advise that should I re-apply both patches?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: magento 1.9.1.1 SUPEE-7405 saving rejects
Thank you