cancel
Showing results for 
Search instead for 
Did you mean: 

Security Patches Eror !

SOLVED

Security Patches Eror !

Hello,

 

Trying to install patches SUPEE-7405 v1.1, SUPEE-6285 , SUPEE-5994

we get following error message:

 

Checkingifpatch can be applied/reverted successfully...  ERRORSmiley Tongueatchcan't be applied/reverted successfully.

 

Following patches are already installed

 

SUPEE-5344|EE_1.14.1.0|v1 |

 

SUPEE-6237|EE_1.14.2.0|v1

 

SUPEE-6482|CE_1.9.2.0|v1

 

SUPEE-1533|EE_1.13|v1

 

How can we solve this issue?

 

 

If we check Magento version by “Magento connect Manager”

Following version is displayed:

 

Mage_All_Latest  1.9.2.1 (  stable )

If I check at admin backend following version is displayed:

1.9.0.1

 

 

Maybe it has something to do with it?

 

Please advise.

 

Many thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Security Patches Eror !

Hi @eray2006

 

keep backup of existing .htaccess file in root directory and replace this .htaccess file with the default .htaccess file of this version then try to re-apply patch.  After this manually merge the changes from the old file to new file.

 

Oh just noticed I think you are missing .htaccess.sample file in the root directory. You should have .htaccess.sample as well as .htaccess file in the root folder.

 

After applying this patch you will have to fix the admin routing compatibility of you incompatible custom modules.

Please visit SUPEE-6788 TECHNICAL DETAILS

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

View solution in original post

5 REPLIES 5

Re: Security Patches Eror !

Hi @eray2006

 

Have you applied patch 6788 ?

Please see the attached screenshot and check if you applied all the previous patches before applying new patch.

 

patches.png

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

Re: Security Patches Eror !

Hello muk_t

 

i try now to install patch 6788 ad get eror

 

 

Checking if patch can be applied/reverted successfully...
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
can't find file to patch at input line 38
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git .htaccess.sample .htaccess.sample
|index b8821af..383313a 100644
|--- .htaccess.sample
|+++ .htaccess.sample
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
patching file app/code/core/Mage/Admin/Model/Block.php
patching file app/code/core/Mage/Admin/Model/Resource/Block.php
patching file app/code/core/Mage/Admin/Model/Resource/Block/Collection.php
patching file app/code/core/Mage/Admin/Model/Resource/Variable.php
patching file app/code/core/Mage/Admin/Model/Resource/Variable/Collection.php
patching file app/code/core/Mage/Admin/Model/Variable.php
patching file app/code/core/Mage/Admin/etc/config.xml
patching file app/code/core/Mage/Admin/sql/admin_setup/upgrade-1.6.1.1-1.6.1.2.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block/Edit.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block/Edit/Form.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block/Grid.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable/Edit.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable/Edit/Form.php
patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable/Grid.php
patching file app/code/core/Mage/Adminhtml/controllers/Permissions/BlockController.php
patching file app/code/core/Mage/Adminhtml/controllers/Permissions/VariableController.php
patching file app/code/core/Mage/Adminhtml/etc/adminhtml.xml
patching file app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php
patching file app/code/core/Mage/Core/Controller/Request/Http.php
patching file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
Hunk #1 FAILED at 131.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php.rej
patching file app/code/core/Mage/Core/Helper/UnserializeArray.php
patching file app/code/core/Mage/Core/Model/Email/Template/Filter.php
patching file app/code/core/Mage/Core/Model/Resource/Setup.php
patching file app/code/core/Mage/Core/etc/config.xml
patching file app/code/core/Mage/Core/etc/system.xml
patching file app/code/core/Mage/Customer/Block/Account/Changeforgotten.php
patching file app/code/core/Mage/Customer/Block/Account/Resetpassword.php
patching file app/code/core/Mage/Customer/controllers/AccountController.php
patching file app/code/core/Mage/Downloadable/Model/Product/Type.php
patching file app/code/core/Mage/Eav/Model/Resource/Attribute/Collection.php
patching file app/code/core/Mage/Sales/Model/Resource/Order/Item/Collection.php
patching file app/code/core/Mage/Sales/controllers/DownloadController.php
patching file app/code/core/Mage/SalesRule/Model/Resource/Coupon/Collection.php
patching file app/code/core/Zend/Soap/Server.php
patching file app/code/core/Zend/Xml/Exception.php
patching file app/code/core/Zend/Xml/Security.php
patching file app/code/core/Zend/XmlRpc/Request.php
patching file app/code/core/Zend/XmlRpc/Response.php
patching file app/design/adminhtml/default/default/layout/admin.xml
patching file app/design/frontend/base/default/layout/customer.xml
patching file app/design/frontend/base/default/template/customer/form/register.phtml
Hunk #1 FAILED at 43.
1 out of 1 hunk FAILED -- saving rejects to file app/design/frontend/base/default/template/customer/form/register.phtml.rej
patching file app/design/frontend/base/default/template/customer/form/resetforgottenpassword.phtml
patching file app/design/frontend/base/default/template/page/js/cookie.phtml
patching file app/design/frontend/base/default/template/persistent/customer/form/register.phtml
patching file app/design/frontend/default/iphone/layout/customer.xml
patching file app/design/frontend/default/modern/layout/customer.xml
patching file app/design/frontend/rwd/default/layout/customer.xml
patching file app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml
patching file app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml
Hunk #1 FAILED at 42.
1 out of 1 hunk FAILED -- saving rejects to file app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml.rej
patching file cron.php
patching file errors/processor.php
Hunk #1 succeeded at 463 with fuzz 2.
patching file lib/Unserialize/Parser.php
patching file lib/Unserialize/Reader/Arr.php
patching file lib/Unserialize/Reader/ArrKey.php
patching file lib/Unserialize/Reader/ArrValue.php
patching file lib/Unserialize/Reader/Bool.php
patching file lib/Unserialize/Reader/Dbl.php
patching file lib/Unserialize/Reader/Int.php
patching file lib/Unserialize/Reader/Str.php
patching file lib/Varien/Data/Collection/Db.php

Done

Re: Security Patches Eror !

Hi @eray2006

 

keep backup of existing .htaccess file in root directory and replace this .htaccess file with the default .htaccess file of this version then try to re-apply patch.  After this manually merge the changes from the old file to new file.

 

Oh just noticed I think you are missing .htaccess.sample file in the root directory. You should have .htaccess.sample as well as .htaccess file in the root folder.

 

After applying this patch you will have to fix the admin routing compatibility of you incompatible custom modules.

Please visit SUPEE-6788 TECHNICAL DETAILS

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

Re: Security Patches Eror !

How/where do I get the .htaccess.sample file?

Re: Security Patches Eror !

Hi @eray2006

 

Go to this url https://www.magentocommerce.com/download click on RELEASE ARCHIVE tab and download the same version which you are using.From that download copy the .htaccess.sample file.

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