cancel
Showing results for 
Search instead for 
Did you mean: 

magento 1.9.1.1 SUPEE-7405 saving rejects

SOLVED

magento 1.9.1.1 SUPEE-7405 saving rejects

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

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: magento 1.9.1.1 SUPEE-7405 saving rejects

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:

 

  1. The core code in the file has been modified
  2. The file was uploaded with an SFTP client that did not properly translate line endings or that corrupted the file with added whitespace
  3. 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

 

View solution in original post

Re: magento 1.9.1.1 SUPEE-7405 saving rejects

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.

View solution in original post

4 REPLIES 4

Re: magento 1.9.1.1 SUPEE-7405 saving rejects

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:

 

  1. The core code in the file has been modified
  2. The file was uploaded with an SFTP client that did not properly translate line endings or that corrupted the file with added whitespace
  3. 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

 

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

Re: magento 1.9.1.1 SUPEE-7405 saving rejects

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.

Re: magento 1.9.1.1 SUPEE-7405 saving rejects

Thank you