5

Today CE-MAGETWO-67805.patch patch has released by Magento for resolve Image Resize Issue with Magento version 2.1.6

Image Resize Issue with Magento version 2.1.6

How can I install the patch? I can't find out any instruction for how to install patch. If any one have solution, please suggest to me.

6

I just applied the patch file.

If you have git installed on your environment just use the following copy the patch on you magento root folder.

Then use:

$ git apply MAGETWO-67805-2017-05-17-03-04-03.patch

There is no verbose first time but if you try second time you will see

error: patch failed: vendor/magento/module-catalog/Block/Product/ImageBlockBuilder.php:120
error: vendor/magento/module-catalog/Block/Product/ImageBlockBuilder.php: patch does not apply

Checked the mentioned files and they are up to date

  • I applied and got same error. – Suresh Chikani May 18 '17 at 10:53
  • Check one of the files to make sure changes were applied. The error means that the files were identical in content which means patch was applied – Alexandru Melinescu May 18 '17 at 10:56
  • Let me check it from my side. – Suresh Chikani May 18 '17 at 10:58
  • Changes applied. – Suresh Chikani May 18 '17 at 11:13
  • i got error not apply – kamal Sep 22 '17 at 7:11
0

You can use http://www.thegeekstuff.com/2014/12/patch-command-examples to follow steps to apply the patch using patch file.

Thank you

  • I have tried but not success, can you please give command which you have used. – Suresh Chikani May 18 '17 at 8:31
0

Follow below steps :

  1. Download the patch file from magento official website.
  2. Upload it into the root folder of your magento store.
  3. Make one file with the name of patch.php in root directory, write following code in it.
<?php
    print("<PRE>");
    passthru("/bin/bash CE-MAGETWO-67805.patch");
    print("</PRE>");
    echo "Done";
?>
  1. The patch file name should be CE-MAGETWO-67805.patch.

  2. Run the file from the browser. You should receive success message screen once you run patch.php from the browser.

  3. Clear and flush the magento cache.

In this way you can install any magento patches easily. Hope it helps you !!

  • I already tried. I guess issue with .patch file. – Suresh Chikani May 18 '17 at 9:09
  • 1
    its work on magento 2 – kamal Sep 22 '17 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.