cancel
Showing results for 
Search instead for 
Did you mean: 

SUPEE 9767 V2 fails Version 1.8.1.0

SUPEE 9767 V2 fails Version 1.8.1.0

I'm stuck!  9767 V1 had problems applying so i didn't patch it.  Hoped that v2 would solve the problems.....but this was result.  Ran patch under apache in staging, both as sudo and just with apache permissions.  same result.  Any suggestions on how to get this installed?  Thanks in advance!

 


-bash-4.1$ sudo sh PATCH_SUPEE-9767_CE_1.8.1.0_v2-2017-07-11-11-02-47.sh
[sudo] password for apache:
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.

patching file app/code/core/Mage/Admin/Model/Session.php
Hunk #1 succeeded at 109 (offset -29 lines).
patching file app/code/core/Mage/Adminhtml/Block/Checkout/Formkey.php
patching file app/code/core/Mage/Adminhtml/Block/Notification/Symlink.php
patching file app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Date.php
patching file app/code/core/Mage/Adminhtml/Model/Config/Data.php
patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Symlink.php
patching file app/code/core/Mage/Adminhtml/controllers/Catalog/Product/GalleryController.php
patching file app/code/core/Mage/Checkout/controllers/MultishippingController.php
patching file app/code/core/Mage/Checkout/controllers/OnepageController.php
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
Hunk #1 succeeded at 141 (offset -7 lines).
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.4.1.1-1.6.0.4.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 succeeded at 333 (offset -9 lines).
Hunk #2 succeeded at 599 (offset -20 lines).
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 498.
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
patching file app/design/adminhtml/default/default/template/page/head.phtml
patching file app/design/frontend/base/default/template/checkout/cart/shipping.phtml
patching file app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml
patching file app/design/frontend/base/default/template/checkout/multishipping/billing.phtml
patching file app/design/frontend/base/default/template/checkout/multishipping/shipping.phtml
patching file app/design/frontend/base/default/template/checkout/onepage/billing.phtml
patching file app/design/frontend/base/default/template/checkout/onepage/payment.phtml
patching file app/design/frontend/base/default/template/checkout/onepage/shipping.phtml
patching file app/design/frontend/base/default/template/checkout/onepage/shipping_method.phtml
patching file app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml
patching file app/locale/en_US/Mage_Adminhtml.csv
Hunk #1 FAILED at 1194.
1 out of 1 hunk FAILED -- saving rejects to file app/locale/en_US/Mage_Adminhtml.csv.rej
patching file app/locale/en_US/Mage_Core.csv
Hunk #1 FAILED at 390.
1 out of 1 hunk FAILED -- saving rejects to file app/locale/en_US/Mage_Core.csv.rej
patching file app/locale/en_US/Mage_Dataflow.csv
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file app/locale/en_US/Mage_Dataflow.csv.rej
patching file app/locale/en_US/Mage_XmlConnect.csv
Hunk #1 FAILED at 984.
1 out of 1 hunk FAILED -- saving rejects to file app/locale/en_US/Mage_XmlConnect.csv.rej
patching file downloader/Maged/Connect.php
patching file downloader/Maged/Controller.php
Hunk #1 succeeded at 405 (offset -12 lines).
Hunk #2 succeeded at 928 (offset -17 lines).
patching file downloader/Maged/Model/Session.php
Hunk #2 succeeded at 248 with fuzz 2 (offset -20 lines).
patching file js/varien/payment.js
patching file skin/frontend/base/default/js/opcheckout.js

5 REPLIES 5

Re: SUPEE 9767 V2 fails Version 1.8.1.0

Hi @gcataldo,

 

You need to execute the revert command in this way:

 

sh PATCH_SUPEE-9767_CE_1.8.1.0_v2-2017-07-11-11-02-47.sh -R

(The -R param at the end is the flag that will revert previous changes)

Re: SUPEE 9767 V2 fails Version 1.8.1.0

There is no app/code/core/Mage/Core/Model/File/Validator/Image.php in Magento CE 1.8.1.0

Re: SUPEE 9767 V2 fails Version 1.8.1.0

Thanks but it doesn't look like it took, so not sure why i need to revert it.  I can do it anyway....I am looking for why this is failing and how to get it to apply properly.   Any assistance would be appreciated.

Re: SUPEE 9767 V2 fails Version 1.8.1.0

Thanks Donking2, should i just take that line and the others that fail out of the SUPEE patch or fix this somehow?  I want to get 9767 to apply properly....just not sure how.

Re: SUPEE 9767 V2 fails Version 1.8.1.0

same problem for me also how can i fix this