Magento Enterprise Security – Fix SUPEE-9767 Hunk #1 FAILED Error

ee-1.13magento-enterprisepatchesSecuritysupee-9767

Trying to install the security patch SUPEE-9767 onto M1 EE v1.13.1.0 and i'm receiving the following error:

Hunk #1 FAILED at 225. 1 out of 1 hunk FAILED — saving rejects to
file
app/design/frontend/enterprise/default/template/persistent/checkout/onepage/billing.phtml.rej

I've checked the line in file indicated in the error and here is the related block of code:

<div class="input-box">   <!--(this is line 255)-->
<input type="password" name="billing[confirm_password]" title="<?php echo 
$this->__('Confirm Password') ?>" id="billing:confirm_password" 
class="input-text required-entry validate-cpassword" />
</div>

Any help would be appreciated.

Best Answer

Another reason could be that you modified this file and thus it is different than the original version of it.

To fix that:

  • Backup this file
  • Download the original file of your Magento version
  • Apply the patch
  • Compare your backup with the new file
  • Copy the new file into your custom theme and apply the changes from your backup file into it
Related Topic