سؤال

I want to apply the new SUPEE-8788 patch.

But when bash the patch trough SSH, I get the following error:

Checking if patch can be applied/reverted successfully...
/bin/patch: **** malformed patch at line 5790: ?rM]M??????&X㔮??v??Q;r?N?qJ??Y???I0?Y??4??'?????9?.??X?Ǒ?{??ax!G???I???q?u|????թ??????|
                                                       h??o?V@??|? ?g?H aꪭ??Ю???,I"?ğ????.??    yI?I\????)?X?
                             ?p???*?e?q?K8<DqD?H;|?
ERROR: Patch can't be applied/reverted successfully.

How can I solve this?

هل كانت مفيدة؟

المحلول

Found the problem!

You need to zip the file first, upload the zip trough FTP and than unzip it using SSH and bash the patch.

The patch was installed without any problem.

نصائح أخرى

Did you download the official patch from Magento directly? Have you tried downloading the patch again? How did you get the patch onto your server, could that have corrupted the file on transfer?

I've run this on my systems and its worked fine every time.

From another post: Upload the file in text mode as it contains binary content

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top