- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Tnx for replying.