cancel
Showing results for 
Search instead for 
Did you mean: 

Revert SUPEE-9767 v1 to install SUPEE-9767 v2 failed

Revert SUPEE-9767 v1 to install SUPEE-9767 v2 failed

Hi

Magento Version 1.9.2.2 Installation

sh PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh -r

get the error:

 

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
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Admin/Model/Session.php.rej
The next patch would create the file app/code/core/Mage/Adminhtml/Block/Checkout/Formkey.php,
which already exists!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored
...

 

Where is the problem?

Thanks
Stephan

5 REPLIES 5

Re: Revert SUPEE-9767 v1 to install SUPEE-9767 v2 failed

Hi @stephangrass,

 

Maybe the param?

 

Try with:

 

sh PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh -R

Re: Revert SUPEE-9767 v1 to install SUPEE-9767 v2 failed

Hi Damian,

thanks, but the parameter in uppercase is not the solution. I get the following message and I don't know what to do:

 

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
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/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
Hunk #1 succeeded at 350 (offset 1 line).
Hunk #2 succeeded at 365 (offset 1 line).
Hunk #3 succeeded at 407 (offset 1 line).
Hunk #4 succeeded at 431 (offset 1 line).
Hunk #5 succeeded at 465 (offset 1 line).
patching file app/code/core/Mage/Checkout/etc/system.xml
patching file app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php
Hunk #1 succeeded at 282 (offset -1 lines).
patching file app/code/core/Mage/Core/Controller/Front/Action.php
patching file app/code/core/Mage/Core/Controller/Request/Http.php
patching file app/code/core/Mage/Core/Model/File/Validator/Image.php
Hunk #1 succeeded at 87 (offset -1 lines).
Hunk #2 succeeded at 105 (offset -1 lines).
patching file app/code/core/Mage/Core/etc/system.xml
patching file app/code/core/Mage/Customer/Model/Session.php
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
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/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/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
Unreversed patch detected!  Ignore -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/design/frontend/base/default/template/checkout/onepage/payment.phtml.rej
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/design/frontend/rwd/default/layout/page.xml
patching file app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml
patching file app/design/frontend/rwd/default/template/checkout/multishipping/addresses.phtml
patching file app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml
patching file app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml
Unreversed patch detected!  Ignore -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml.rej
patching file app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml
patching file app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml
patching file app/etc/config.xml
patching file app/locale/en_US/Mage_Adminhtml.csv
Hunk #1 succeeded at 1281 (offset -4 lines).
patching file app/locale/en_US/Mage_Core.csv
Hunk #1 succeeded at 404 (offset -3 lines).
patching file app/locale/en_US/Mage_Dataflow.csv
patching file app/locale/en_US/Mage_XmlConnect.csv
patching file downloader/Maged/Connect.php
patching file downloader/Maged/Controller.php
Hunk #1 succeeded at 417 (offset -4 lines).
Hunk #2 succeeded at 964 (offset -15 lines).
patching file downloader/Maged/Model/Session.php
Hunk #1 succeeded at 82 with fuzz 2.
Hunk #2 succeeded at 254 (offset -5 lines).
patching file js/lib/jquery/jquery-1.12.0.js
patching file js/lib/jquery/jquery-1.12.0.min.js
patching file js/lib/jquery/jquery-1.12.0.min.map
patching file js/varien/payment.js
patching file skin/frontend/base/default/js/opcheckout.js
Hunk #1 succeeded at 711 (offset 27 lines).

I think this

patching file app/design/frontend/base/default/template/checkout/onepage/payment.phtml
Unreversed patch detected!  Ignore -R? [n] 

and this

patching file app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml
Unreversed patch detected!  Ignore -R? [n] 

may be the problem. But how to fix?

Stephan

Re: Revert SUPEE-9767 v1 to install SUPEE-9767 v2 failed

Yes, those files could be the problem but I can't say why those files are different.

Maybe you applied changes after the patch?

 

 

Re: Revert SUPEE-9767 v1 to install SUPEE-9767 v2 failed

I download 1.9.2.2 from magento.com and upload the original files. But the revert will always failed:

patching file app/design/frontend/base/default/template/checkout/onepage/payment.phtml
Unreversed patch detected!  Ignore -R? [n] 

How can I find out, what patch I must reverse to reverse SUPEE-9767 v1.

 

Stephan

Re: Revert SUPEE-9767 v1 to install SUPEE-9767 v2 failed

I guess the result is correct because the 1.9.2.2 original file hasn't the patch V1 applied. Right?