cancel
Showing results for 
Search instead for 
Did you mean: 

SUPEE 9767 V2 fails Version CE 1.7.0.2

SUPEE 9767 V2 fails Version CE 1.7.0.2

Hi,

Trying to install the security patch SUPEE-9767  V2 in Magento CE 1.7.0.2 and i'm recieving the following error:

 

 

patching file app/code/core/Mage/Checkout/etc/system.xml

patching file app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php

patching file app/code/core/Mage/Core/Controller/Front/Action.php

patching file app/code/core/Mage/Core/Controller/Request/Http.php

can't find file to patch at input line 433

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git app/code/core/Mage/Core/Model/File/Validator/Image.php app/code/core/Mage/Core/Model/File/Validator/Image.php

|index 7f7b9d0..8618bca 100644

|--- app/code/core/Mage/Core/Model/File/Validator/Image.php

|+++ app/code/core/Mage/Core/Model/File/Validator/Image.php

--------------------------

File to patch:

Skip this patch? [y]

Skipping patch.

2 out of 2 hunks ignored

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/Core/sql/core_setup/upgrade-1.6.0.2.1.1-1.6.0.2.1.2.php

patching file app/code/core/Mage/Customer/Model/Session.php

patching file app/code/core/Mage/Customer/controllers/AccountController.php

Hunk #1 FAILED at 340.

Hunk #2 FAILED at 607.

2 out of 2 hunks FAILED -- saving rejects to file app/code/core/Mage/Customer/controllers/AccountController.php.rej

patching file app/code/core/Mage/Dataflow/Model/Convert/Adapter/Zend/Cache.php

patching file app/code/core/Mage/Dataflow/Model/Convert/Container/Abstract.php

patching file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php

patching file app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php

patching file app/code/core/Mage/ImportExport/Model/Import/Uploader.php

patching file app/code/core/Mage/Sales/Model/Quote/Item.php

Hunk #1 FAILED at 502.

1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Sales/Model/Quote/Item.php.rej

patching file app/code/core/Mage/Widget/Model/Widget/Instance.php

patching file app/code/core/Mage/XmlConnect/Helper/Image.php

patching file app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php

patching file app/design/adminhtml/default/default/layout/main.xml

patching file app/design/adminhtml/default/default/template/notification/formkey.phtml

patching file app/design/adminhtml/default/default/template/notification/symlink.phtml

patching file app/design/adminhtml/default/default/template/oauth/authorize/head-simple.phtml

1 REPLY 1

Re: SUPEE 9767 V2 fails Version CE 1.7.0.2

you have to be sure that you have installed the previous security patches.Also make sure that you have no changes in your core files.

If you have changes in your core files than you have to try :

1.backup your project(or create new branch)

2.find the original magento version 1.7.0.2

3.substitute the files that you have changed with the originals

4.execute the patch

5.put again your changes

 

This works for me for magento 1.8

 

Hope this helps you