cancel
Showing results for 
Search instead for 
Did you mean: 

Hunk fail | PATCH_SUPEE-6788

SOLVED

Hunk fail | PATCH_SUPEE-6788

Dear Magento-users,

 

Today i wanted to install the 6788 patch and i get the following message:

 

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

patching file .htaccess
Hunk #1 FAILED at 207.
1 out of 1 hunk FAILED -- saving rejects to file .htaccess.rej

 


 

 

4 REPLIES

Re: Hunk fail | PATCH_SUPEE-6788

Hi @levistyl

 

You should download the default .htaccess and .htaccess.sample file for you magento version. (Keep back up of your existing files)

 

After it you replace the existing .htaccess and .htaccess.sample file with the default files, then try to apply patch.

 

It the patch is applied successfully, you should move the changed code lines to your .htaccess and .htaccess.sample files (Which were unpatched) and it should work for you.

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

Re: Hunk fail | PATCH_SUPEE-6788

Tnx for the support.

 

Its close to the solution, but im getting still te following error:

 

can't find file to patch at input line 4014

 

"Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git app/code/core/Zend/XmlRpc/Request.php app/code/core/Zend/XmlRpc/Request.php
|index 402c38a..17a176e 100644
|--- app/code/core/Zend/XmlRpc/Request.php
|+++ app/code/core/Zend/XmlRpc/Request.php"

 

fail_6.jpg

Re: Hunk fail | PATCH_SUPEE-6788

Hi @levistyl

 

Do you have write permission to following directory app/code/core/Zend ?

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

Re: Hunk fail | PATCH_SUPEE-6788

There where no files in the [zend] maps.

 

So when i uploaded them and reapply the patch is works Smiley Happy

 

Tnx for replying.