cancel
Showing results for 
Search instead for 
Did you mean: 

SUPEE-8788 fails on SWF files

SOLVED

Re: SUPEE-8788 fails on SWF files

It's also worth noting that zipping up the patch file, uploading to the server, unzipping and then re-patching works. The problem is that when you upload the .sh file it messes up the .swf content (because it tries to upload it in ASCII). Maybe try uploading the file as binary in FTP too?

Re: SUPEE-8788 fails on SWF files

Had the same issue with the SWF files.   Just reupload the patch via binary and that should fix it.

Re: SUPEE-8788 fails on SWF files

It is good to hear that the patch works by doing this, but we also need a confirmation whether your product image uploader still works or not after applying the patch with this method.

I am afraid that this somehow destroys that upload function. At least if most of you guys don't have this problem, then it is something wrong from my end.

 

Cheers.

Re: SUPEE-8788 fails on SWF files

Version of the patch SUPEE-8788  v1 or v2? problem with downloading images 

Re: SUPEE-8788 fails on SWF files

Has anyone figured out how to fix this? The patch continues to fail for us. We are on Magento 1.9.2.1. We have tried all the advice here. We uploaded via binary, and it didn't work. We zipped, uploaded, and unzipped, and again didn't work. I simply cannot believe Magento continues to release patches that fail repeatedly. And why so many changes in one patch? Why not do the SWF in another patch?  Below is our log of the patch. It just always fails on the SWF.  Any ideas?

 

Hunk #1 succeeded at 76 (offset -2 lines).
Hunk #2 succeeded at 1394 (offset -2 lines).
patching file skin/adminhtml/default/default/media/flex.swf
patching file skin/adminhtml/default/default/media/uploader.swf
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file skin/adminhtml/default/default/media/uploader.swf.rej
patching file skin/adminhtml/default/default/media/uploaderSingle.swf
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file skin/adminhtml/default/default/media/uploaderSingle.swf.rej
patching file skin/adminhtml/default/default/xmlconnect/boxes.css
Hunk #1 succeeded at 88 (offset -2 lines).

Re: SUPEE-8788 fails on SWF files

Hi ddsgadget,

 

In the case that zip/unzip still doesn't work for you, you may visit this page:

https://magentary.com/kb/install-supee-8788-without-ssh/

 

You can extract the zip files overwriting your current ones, and delete the SWF files manually.

Always create a backup before doing this.

Re: SUPEE-8788 fails on SWF files

Thanks for the tip. What we ended up doing is using SSH commands to remove the lines from the patch that dealt with the SWF's, and then just ran the patch for the other files that needed to be changed. Then we deleted the SWF's manually. I think that pretty much is similar to the approach you recommended, but much faster. 

Re: SUPEE-8788 fails on SWF files

Thats great but does the uploader work?

Re: SUPEE-8788 fails on SWF files

Yes, uploader works fine. It no longer relies on SWF. The patch just deletes those files. They aren't even in the latest version of Magento Community Version 1.9.X

Re: SUPEE-8788 fails on SWF files

BTW, the issue we had only seems confined to the patch for 1.9.2.1. When we patched another site with 1.9.2.3, zipping the file and uploading it to the server and then unzipping, worked fine.