Hi, I'm attempt to install the latest patch for my magento version (1.9.2.1) . I'm using the following patch file:
PATCH_SUPEE-8788_CE_1.9.2.1_v2-2016-10-14-09-40-36.sh
However, I get the following errors when running it..
Can anyone identify the issue here and help resolve?
Checking if patch can be applied/reverted successfully... -e ERROR: Patch can't be applied/reverted successfully. checking file app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Gallery/Content.php checking file app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Uploader.php checking file app/code/core/Mage/Adminhtml/Block/Media/Uploader.php checking file app/codecore/Mage/Adminhtml/Block/Urlrewrite/Category/Tree.php checking file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php checking file app/code/core/Mage/Adminhtml/controllers/DashboardController.php checking file app/code/core/Mage/Adminhtml/controllers/IndexController.php checking file app/code/core/Mage/Adminhtml/controllers/Media/UploaderController.php checking file app/code/core/Mage/Catalog/Helper/Image.php checking file app/code/core/Mage/Catalog/etc/config.xml checking file app/code/core/Mage/Catalog/etc/system.xml checking file app/code/core/Mage/Centinel/Model/Api.php checking file app/code/core/Mage/Centinel/Model/Api/Client.php checking file app/code/core/Mage/Core/Block/Abstract.php checking file app/code/core/Mage/Core/Helper/Url.php checking file app/code/core/Mage/Core/Model/Encryption.php checking file app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php checking file app/code/core/Mage/Core/functions.php checking file app/code/core/Mage/Customer/Block/Address/Book.php checking file app/code/core/Mage/Customer/controllers/AddressController.php checking file app/code/core/Mage/Dataflow/Model/Profile.php checking file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php checking file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php checking file app/code/core/Mage/Downloadable/Helper/File.php checking file app/code/core/Mage/Oauth/Model/Server.php checking file app/code/core/Mage/Paygate/Model/Authorizenet.php checking file app/code/core/Mage/Payment/Block/Info/Checkmo.php checking file app/code/core/Mage/Paypal/Model/Express/Checkout.php checking file app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php checking file app/code/core/Mage/Sales/Model/Resource/Order/Payment.php checking file app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php checking file app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php checking file app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php checking file app/code/core/Mage/Uploader/Block/Abstract.php checking file app/code/core/Mage/Uploader/Block/Multiple.php checking file app/code/core/Mage/Uploader/Block/Single.php checking file app/code/core/Mage/Uploader/Helper/Data.php checking file app/code/core/Mage/Uploader/Helper/File.php checking file app/code/core/Mage/Uploader/Model/Config/Abstract.php checking file app/code/core/Mage/Uploader/Model/Config/Browsebutton.php checking file app/code/core/Mage/Uploader/Model/Config/Misc.php checking file app/code/core/Mage/Uploader/Model/Config/Uploader.php checking file app/code/core/Mage/Uploader/etc/config.xml checking file app/code/core/Mage/Uploader/etc/jstranslator.xml checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php checking file app/code/core/Mage/Usa/etc/config.xml checking file app/code/core/Mage/Usa/etc/system.xml checking file app/code/core/Mage/Wishlist/Helper/Data.php checking file app/code/core/Mage/Wishlist/controllers/IndexController.php checking file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design.php checking file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Images.php checking file app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php checking file app/design/adminhtml/default/default/layout/cms.xml checking file app/design/adminhtml/default/default/layout/main.xml checking file app/design/adminhtml/default/default/layout/xmlconnect.xml checking file app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml checking file app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/links.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/samples.phtml checking file app/design/adminhtml/default/default/template/media/uploader.phtml Hunk #1 FAILED at 26. 1 out of 1 hunk FAILED checking file app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design.phtml checking file app/etc/modules/Mage_All.xml checking file app/locale/en_US/Mage_Media.csv Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED checking file app/locale/en_US/Mage_Uploader.csv checking file downloader/lib/Mage/HTTP/Client/Curl.php checking file js/lib/uploader/flow.min.js checking file js/lib/uploader/fusty-flow-factory.js checking file js/lib/uploader/fusty-flow.js checking file js/mage/adminhtml/product.js checking file js/mage/adminhtml/uploader/instance.js checking file lib/Unserialize/Parser.php checking file lib/Unserialize/Reader/Arr.php checking file lib/Unserialize/Reader/ArrValue.php checking file lib/Unserialize/Reader/Null.php checking file skin/adminhtml/default/default/boxes.css checking file skin/adminhtml/default/default/media/flex.swf checking file skin/adminhtml/default/default/media/uploader.swf checking file skin/adminhtml/default/default/media/uploaderSingle.swf checking file skin/adminhtml/default/default/xmlconnect/boxes.css
Solved! Go to Solution.
Ok, I finally managed to get the patch installed successfully. I downloaded the fresh copy of the magento 1.9.2.1 installation ( download as a zip file from the root ) here: https://github.com/OpenMage/magento-mirror/tree/1.9.2.1
And simply copied the files that were causing issues over manually. Note, that copying and pasting from the raw git files does not work for whatever reason.
Hi!
I have pretty much the same error with CE 1.9.1.0
First I had problems with the SWF files and uploader.phtml file. After I uploaded a zipped .sh file via FTP and unzipped it via PuTTy the problems with SWF were solved but now I only have problems with uploader.phtml
patching file app/design/adminhtml/default/default/template/media/uploader.phtml Hunk #1 FAILED at 26. 1 out of 1 hunk FAILED -- saving rejects to file app/design/adminhtml/default/default/template/media/uploader.phtml.rej
I hope there's someone out here who can tell me how to fix this!
Cheers!
Hi,
Yes, I had the same problem with the SWF files that I managed to fix. I have this project set up in our dev environment on our local server so I'm running the patch from the CLI.
Hopefully someone can offer a solution for this.
Ok, I finally managed to get the patch installed successfully. I downloaded the fresh copy of the magento 1.9.2.1 installation ( download as a zip file from the root ) here: https://github.com/OpenMage/magento-mirror/tree/1.9.2.1
And simply copied the files that were causing issues over manually. Note, that copying and pasting from the raw git files does not work for whatever reason.
Hi Isobar,
Thanks, I'll ive that a try! When it works, or not, I'll post a new reply!
It doesn't work for me. The file uploader.phtml still causes the problem why I can't patch SUPEE-8788
I downloaded a zipped clean install file of CE 1.9.1.0 from github. Uploaded a zipped uploader.phtml file via FTP and unzipped it via Shell. Still I can't patch SUPEE-8788
patching file app/design/adminhtml/default/default/template/media/uploader.phtml Hunk #1 FAILED at 26. 1 out of 1 hunk FAILED -- saving rejects to file app/design/adminhtml/default/default/template/media/uploader.phtml.rej
Is there anyone with CE 1.9.1.0 who succesfully patched SUPEE-8788??
Same here with magento 1.9.1.0
sh PATCH_SUPEE-8788_CE_1.9.1.0_v2-2016-10-14-09-38-31.sh Checking if patch can be applied/reverted successfully... ERROR: Patch can't be applied/reverted successfully. checking file app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Gallery/Content.php checking file app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Uploader.php checking file app/code/core/Mage/Adminhtml/Block/Media/Uploader.php checking file app/code/core/Mage/Adminhtml/Block/Urlrewrite/Category/Tree.php checking file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php checking file app/code/core/Mage/Adminhtml/controllers/DashboardController.php checking file app/code/core/Mage/Adminhtml/controllers/IndexController.php checking file app/code/core/Mage/Adminhtml/controllers/Media/UploaderController.php checking file app/code/core/Mage/Catalog/Helper/Image.php checking file app/code/core/Mage/Catalog/etc/config.xml checking file app/code/core/Mage/Catalog/etc/system.xml checking file app/code/core/Mage/Centinel/Model/Api.php checking file app/code/core/Mage/Centinel/Model/Api/Client.php checking file app/code/core/Mage/Core/Block/Abstract.php checking file app/code/core/Mage/Core/Helper/Url.php checking file app/code/core/Mage/Core/Model/Encryption.php checking file app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php checking file app/code/core/Mage/Core/functions.php checking file app/code/core/Mage/Customer/Block/Address/Book.php checking file app/code/core/Mage/Customer/controllers/AddressController.php checking file app/code/core/Mage/Dataflow/Model/Profile.php checking file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php checking file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php checking file app/code/core/Mage/Downloadable/Helper/File.php checking file app/code/core/Mage/Oauth/Model/Server.php checking file app/code/core/Mage/Paygate/Model/Authorizenet.php checking file app/code/core/Mage/Payment/Block/Info/Checkmo.php checking file app/code/core/Mage/Paypal/Model/Express/Checkout.php checking file app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php checking file app/code/core/Mage/Sales/Model/Resource/Order/Payment.php checking file app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php checking file app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php checking file app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php checking file app/code/core/Mage/Uploader/Block/Abstract.php checking file app/code/core/Mage/Uploader/Block/Multiple.php checking file app/code/core/Mage/Uploader/Block/Single.php checking file app/code/core/Mage/Uploader/Helper/Data.php checking file app/code/core/Mage/Uploader/Helper/File.php checking file app/code/core/Mage/Uploader/Model/Config/Abstract.php checking file app/code/core/Mage/Uploader/Model/Config/Browsebutton.php checking file app/code/core/Mage/Uploader/Model/Config/Misc.php checking file app/code/core/Mage/Uploader/Model/Config/Uploader.php checking file app/code/core/Mage/Uploader/etc/config.xml checking file app/code/core/Mage/Uploader/etc/jstranslator.xml checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php checking file app/code/core/Mage/Usa/etc/config.xml checking file app/code/core/Mage/Usa/etc/system.xml checking file app/code/core/Mage/Wishlist/Helper/Data.php checking file app/code/core/Mage/Wishlist/controllers/IndexController.php checking file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design.php checking file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Images.php checking file app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php checking file app/design/adminhtml/default/default/layout/cms.xml checking file app/design/adminhtml/default/default/layout/main.xml checking file app/design/adminhtml/default/default/layout/xmlconnect.xml checking file app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml checking file app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/links.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/samples.phtml checking file app/design/adminhtml/default/default/template/media/uploader.phtml checking file app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design.phtml checking file app/etc/modules/Mage_All.xml checking file app/locale/en_US/Mage_Media.csv checking file app/locale/en_US/Mage_Uploader.csv checking file downloader/lib/Mage/HTTP/Client/Curl.php checking file js/lib/uploader/flow.min.js checking file js/lib/uploader/fusty-flow-factory.js checking file js/lib/uploader/fusty-flow.js checking file js/mage/adminhtml/product.js checking file js/mage/adminhtml/uploader/instance.js checking file lib/Unserialize/Parser.php checking file lib/Unserialize/Reader/Arr.php checking file lib/Unserialize/Reader/ArrValue.php checking file lib/Unserialize/Reader/Null.php checking file skin/adminhtml/default/default/boxes.css checking file skin/adminhtml/default/default/media/flex.swf checking file skin/adminhtml/default/default/media/uploader.swf checking 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 checking file skin/adminhtml/default/default/xmlconnect/boxes.css
Failed in 1.9.2.1. What could be the issue?
Checking if patch can be applied/reverted successfully... ERROR: Patch can't be applied/reverted successfully. checking file app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Gallery/Content.php checking file app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Uploader.php checking file app/code/core/Mage/Adminhtml/Block/Media/Uploader.php checking file app/code/core/Mage/Adminhtml/Block/Urlrewrite/Category/Tree.php checking file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php checking file app/code/core/Mage/Adminhtml/controllers/DashboardController.php checking file app/code/core/Mage/Adminhtml/controllers/IndexController.php Hunk #1 succeeded at 372 (offset -19 lines). checking file app/code/core/Mage/Adminhtml/controllers/Media/UploaderController.php checking file app/code/core/Mage/Catalog/Helper/Image.php checking file app/code/core/Mage/Catalog/etc/config.xml checking file app/code/core/Mage/Catalog/etc/system.xml checking file app/code/core/Mage/Centinel/Model/Api.php checking file app/code/core/Mage/Centinel/Model/Api/Client.php checking file app/code/core/Mage/Core/Block/Abstract.php checking file app/code/core/Mage/Core/Helper/Url.php checking file app/code/core/Mage/Core/Model/Encryption.php checking file app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php checking file app/code/core/Mage/Core/functions.php checking file app/code/core/Mage/Customer/Block/Address/Book.php checking file app/code/core/Mage/Customer/controllers/AddressController.php checking file app/code/core/Mage/Dataflow/Model/Profile.php checking file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php checking file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php checking file app/code/core/Mage/Downloadable/Helper/File.php checking file app/code/core/Mage/Oauth/Model/Server.php checking file app/code/core/Mage/Paygate/Model/Authorizenet.php checking file app/code/core/Mage/Payment/Block/Info/Checkmo.php checking file app/code/core/Mage/Paypal/Model/Express/Checkout.php checking file app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php checking file app/code/core/Mage/Sales/Model/Resource/Order/Payment.php checking file app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php checking file app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php checking file app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php checking file app/code/core/Mage/Uploader/Block/Abstract.php checking file app/code/core/Mage/Uploader/Block/Multiple.php checking file app/code/core/Mage/Uploader/Block/Single.php checking file app/code/core/Mage/Uploader/Helper/Data.php checking file app/code/core/Mage/Uploader/Helper/File.php checking file app/code/core/Mage/Uploader/Model/Config/Abstract.php checking file app/code/core/Mage/Uploader/Model/Config/Browsebutton.php checking file app/code/core/Mage/Uploader/Model/Config/Misc.php checking file app/code/core/Mage/Uploader/Model/Config/Uploader.php checking file app/code/core/Mage/Uploader/etc/config.xml checking file app/code/core/Mage/Uploader/etc/jstranslator.xml checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php checking file app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php checking file app/code/core/Mage/Usa/etc/config.xml checking file app/code/core/Mage/Usa/etc/system.xml checking file app/code/core/Mage/Wishlist/Helper/Data.php checking file app/code/core/Mage/Wishlist/controllers/IndexController.php checking file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design.php checking file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Images.php checking file app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php checking file app/design/adminhtml/default/default/layout/cms.xml checking file app/design/adminhtml/default/default/layout/main.xml checking file app/design/adminhtml/default/default/layout/xmlconnect.xml checking file app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml checking file app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/links.phtml checking file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/samples.phtml checking file app/design/adminhtml/default/default/template/media/uploader.phtml checking file app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design.phtml checking file app/etc/modules/Mage_All.xml checking file app/locale/en_US/Mage_Media.csv checking file app/locale/en_US/Mage_Uploader.csv checking file downloader/lib/Mage/HTTP/Client/Curl.php Hunk #1 FAILED at 373. 1 out of 1 hunk FAILED checking file js/lib/uploader/flow.min.js checking file js/lib/uploader/fusty-flow-factory.js checking file js/lib/uploader/fusty-flow.js checking file js/mage/adminhtml/product.js checking file js/mage/adminhtml/uploader/instance.js can't find file to patch at input line 5764 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git lib/Unserialize/Parser.php lib/Unserialize/Parser.php |index 423902a..2c01684 100644 |--- lib/Unserialize/Parser.php |+++ lib/Unserialize/Parser.php -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 5776 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git lib/Unserialize/Reader/Arr.php lib/Unserialize/Reader/Arr.php |index caa979e..cd37804 100644 |--- lib/Unserialize/Reader/Arr.php |+++ lib/Unserialize/Reader/Arr.php -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 5792 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git lib/Unserialize/Reader/ArrValue.php lib/Unserialize/Reader/ArrValue.php |index d2a4937..c6c0221 100644 |--- lib/Unserialize/Reader/ArrValue.php |+++ lib/Unserialize/Reader/ArrValue.php -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored checking file lib/Unserialize/Reader/Null.php checking file skin/adminhtml/default/default/boxes.css checking file skin/adminhtml/default/default/media/flex.swf checking file skin/adminhtml/default/default/media/uploader.swf checking file skin/adminhtml/default/default/media/uploaderSingle.swf checking file skin/adminhtml/default/default/xmlconnect/boxes.css
In my opinion PATCH-SUPEE-8788 for Magento CE 1.9.2.1 is completely useless as it changes many files to unserialize data using a helper class Mage::helper('core/unserializeArray') instead of the php unserialize() function.
At the same time, the file is neither provided by 1.9.2.1 NOR by the patch itself.
1.9.2.2 and future versions contain the file Mage/Core/Helper/UnserializeArray.php.
There´s a similar issue on v.1.9.2.2 when trying to patch SUPEE 8788:
checking file app/etc/modules/Mage_All.xml checking file app/locale/en_US/Mage_Media.csv checking file app/locale/en_US/Mage_Uploader.csv can't find file to patch at input line 4725 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git downloader/lib/Mage/HTTP/Client/Curl.php downloader/lib/Mage/HTTP/Cl ient/Curl.php |index e38c29a..5c474ec 100644 |--- downloader/lib/Mage/HTTP/Client/Curl.php |+++ downloader/lib/Mage/HTTP/Client/Curl.php -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored checking file js/lib/uploader/flow.min.js checking file js/lib/uploader/fusty-flow-factory.js checking file js/lib/uploader/fusty-flow.js
The /Mage_Uploader.csv file doesn´t exist but i think there are possibly other files missing either...
Do we need to install an outdated uploader here to get this patch running or whats the case with this?
Thanks for any help!