cancel
Showing results for 
Search instead for 
Did you mean: 

SUPEE-8788 fails on SWF files

SOLVED

SUPEE-8788 fails on SWF files

This is on Magento CE 1.9.1.1 with fully applied previous patches.

When running the patch through SSH, it fails with hunk ignored on those 3 SWF files.

Those files have never been modified. Anyway, tried to replace them with the original copies from ver. 1.9.1.1, but still no luck.

Has anyone got the same problem?

33 REPLIES

Re: SUPEE-8788 fails on SWF files

I've had the same exact problem. I'm running Magento CE 1.9.2.4. I also tried replacing the SWF files with originals from a fresh download of 1.9.4.2, but it didn't work for me either. 

 

If I don't find a solution to the SWF problem, I'm considering updating to 1.9.3. This is not ideal because core updates are time consuming affairs for me.

 

If I find a solution, I'll share it on this discussion.

Re: SUPEE-8788 fails on SWF files

Yep, same issue for me, Version CE 1.9.0.1, all previous patches successfully applied - although I do remember some similar problems with a previous patch which needed the default .htaccess etc restoring before applying.

 

Any suggestions appreciated.

Re: SUPEE-8788 fails on SWF files

A dirty solution might be to remove the swf files from the patch. Then download the 1.9.3 release and get the swf files from there. Use the smaller patch and upload the swf files manually.

 

I have not tested this yet,

Re: SUPEE-8788 fails on SWF files

Hmm..dirty Smiley Wink might give it a try if a clean option isn't forthcoming. In addition, I also have the following failure:

 

patching file app/code/core/Mage/Adminhtml/controllers/DashboardController.php
Hunk #1 FAILED at 91.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Adminhtml/controllers/DashboardController.php.rej

 

Have read some comments that php v.5.6 or higher is required or the Magento backend will be inaccessible after applying 8788, we're on 5.4.4 at the moment, possibly related?

 

I also had a failure related to the downloader, presumably because I renamed the downloader folder as a quick and easy way to secure it...

Re: SUPEE-8788 fails on SWF files

For anyone having problems with the .swf updates of the patch, I simply removed lines 5951-9818 from the patch and manually removed the .swf files from /skin/adminhtml/default/default/media - since that's all the patch was doing anyway.

Re: SUPEE-8788 fails on SWF files

Thanks for the info Liam. What did you use to edit the .sh file? Opening in notepad++ I don't have a line 9818, numbering only goes up to 9059. There's also been some comments about text editors breaking the binary in the patch file.

 

Cheers

Rob

Re: SUPEE-8788 fails on SWF files

Same issue here. Magento 1.9.2.3 with all previous patches installed:

 

1 out of 1 hunk ignored -- saving rejects to file skin/adminhtml/default/default/media/uploaderSingle.swf.rej

Re: SUPEE-8788 fails on SWF files

Removing the lines worked in my case (running on 1.9.2.2).

use 'sed' on cli for removing the lines, example:

sed -i '5951,9818 d' PATCH_SUPEE-8788_CE_1.9.2.2_v1-2016-10-11-07-01-37.sh

 

See also:

https://gist.github.com/fooman/b8f4ddbeadf4adebffd911f3411e3d70

Re: SUPEE-8788 fails on SWF files

Removing the lines as suggested by Liam did the trick for me on 1.9.2.1. I manually removed the 3 .swf files and the patch succesfully applied. I edited the file with notepad++.