cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

Has anyone managed to get the new 1.6 Supee 8788 patch to run ?

 

It wouldn't run against my 1.6 store, so as a test I took a vanilla 1.6.0.0 base and updated every patch up to 8788 (excluding 1533 as advised) and still the 8788 patch fails ? I get the following, any ideas please ?

 

Checking if patch can be applied/reverted successfully...

-e ERROR: Patch can't be applied/reverted successfully.

 

patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php

Hunk #1 FAILED at 547.

Hunk #2 FAILED at 582.

Hunk #3 FAILED at 613.

Hunk #4 FAILED at 624.

Hunk #5 FAILED at 659.

Hunk #6 FAILED at 690.

Hunk #7 FAILED at 739.

Hunk #8 FAILED at 778.

Hunk #9 FAILED at 829.

Hunk #10 FAILED at 852.

Hunk #11 FAILED at 1421.

11 out of 11 hunks FAILED -- saving rejects to file app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php.rej

Chriss-Air:magento16-supee-8788 $ sh 11PATCH_SUPEE-7405_CE_1.6.0.0_v1-2016-01-20-06-30-35\ \(1\).sh

Checking if patch can be applied/reverted successfully...

Patch was applied/reverted successfully.

Chriss-Air:magento16-supee-8788 $ rm -rf 11PATCH_SUPEE-7405_CE_1.6.0.0_v1-2016-01-20-06-30-35\ \(1\).sh

Chriss-Air:magento16-supee-8788 $ sh 12PATCH_SUPEE-7405_CE_1.6.0.0_v1.1-2016-02-23-07-08-56\ \(1\).sh

Checking if patch can be applied/reverted successfully...

Patch was applied/reverted successfully.

Chriss-Air:magento16-supee-8788 $ rm -rf 12PATCH_SUPEE-7405_CE_1.6.0.0_v1.1-2016-02-23-07-08-56\ \(1\).sh

Chriss-Air:magento16-supee-8788 $ sh 13PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30\ \(1\).sh

sed: RE error: illegal byte sequence

Checking if patch can be applied/reverted successfully...

-e ERROR: Patch can't be applied/reverted successfully.

 

patching file app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Gallery/Content.php

patching file app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Uploader.php

patching file app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php

patching file app/code/core/Mage/Adminhtml/Block/Media/Uploader.php

patching file app/code/core/Mage/Adminhtml/Block/System/Email/Template/Preview.php

patching file app/code/core/Mage/Adminhtml/Block/Urlrewrite/Category/Tree.php

patching file app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php

patching file app/code/core/Mage/Adminhtml/controllers/DashboardController.php

patching file app/code/core/Mage/Adminhtml/controllers/Media/UploaderController.php

patching file app/code/core/Mage/Catalog/Block/Product/Abstract.php

patching file app/code/core/Mage/Catalog/Block/Product/View.php

patching file app/code/core/Mage/Catalog/Helper/Image.php

patching file app/code/core/Mage/Catalog/Helper/Product/Compare.php

patching file app/code/core/Mage/Catalog/controllers/Product/CompareController.php

patching file app/code/core/Mage/Catalog/etc/config.xml

patching file app/code/core/Mage/Catalog/etc/system.xml

patching file app/code/core/Mage/Centinel/Model/Api.php

patching file app/code/core/Mage/Centinel/Model/Api/Client.php

patching file app/code/core/Mage/Checkout/Helper/Cart.php

patching file app/code/core/Mage/Checkout/controllers/CartController.php

patching file app/code/core/Mage/Checkout/controllers/OnepageController.php

patching file app/code/core/Mage/Core/Block/Abstract.php

patching file app/code/core/Mage/Core/Helper/Url.php

patching file app/code/core/Mage/Core/Model/Encryption.php

patching file app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php

patching file app/code/core/Mage/Core/Model/Url.php

patching file app/code/core/Mage/Core/functions.php

patching file app/code/core/Mage/Customer/Block/Address/Book.php

patching file app/code/core/Mage/Customer/controllers/AccountController.php

patching file app/code/core/Mage/Customer/controllers/AddressController.php

patching file app/code/core/Mage/Dataflow/Model/Profile.php

patching file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php

patching file app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php

patching file app/code/core/Mage/Downloadable/Helper/File.php

patching file app/code/core/Mage/Paygate/Model/Authorizenet.php

patching file app/code/core/Mage/Payment/Block/Info/Checkmo.php

patching file app/code/core/Mage/ProductAlert/Block/Email/Abstract.php

patching file app/code/core/Mage/Review/controllers/ProductController.php

patching file app/code/core/Mage/Sales/Model/Resource/Order/Payment.php

patching file app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php

patching file app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php

patching file app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php

patching file app/code/core/Mage/Uploader/Block/Abstract.php

patching file app/code/core/Mage/Uploader/Block/Multiple.php

patching file app/code/core/Mage/Uploader/Block/Single.php

patching file app/code/core/Mage/Uploader/Helper/Data.php

patching file app/code/core/Mage/Uploader/Helper/File.php

patching file app/code/core/Mage/Uploader/Model/Config/Abstract.php

patching file app/code/core/Mage/Uploader/Model/Config/Browsebutton.php

patching file app/code/core/Mage/Uploader/Model/Config/Misc.php

patching file app/code/core/Mage/Uploader/Model/Config/Uploader.php

patching file app/code/core/Mage/Uploader/etc/config.xml

patching file app/code/core/Mage/Uploader/etc/jstranslator.xml

patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php

patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php

patching file app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php

patching file app/code/core/Mage/Usa/etc/config.xml

patching file app/code/core/Mage/Usa/etc/system.xml

patching file app/code/core/Mage/Wishlist/Controller/Abstract.php

patching file app/code/core/Mage/Wishlist/Helper/Data.php

patching file app/code/core/Mage/Wishlist/controllers/IndexController.php

patching file app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design.php

patching file app/design/adminhtml/default/default/layout/cms.xml

patching file app/design/adminhtml/default/default/layout/main.xml

patching file app/design/adminhtml/default/default/layout/xmlconnect.xml

patching file app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml

patching file app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml

patching file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable.phtml

patching file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/links.phtml

patching file app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable/samples.phtml

patching file app/design/adminhtml/default/default/template/media/uploader.phtml

patching file app/design/frontend/base/default/template/catalog/product/view.phtml

patching file app/design/frontend/base/default/template/checkout/cart.phtml

patching file app/design/frontend/base/default/template/checkout/onepage/review/info.phtml

patching file app/design/frontend/base/default/template/customer/form/login.phtml

patching file app/design/frontend/base/default/template/email/productalert/price.phtml

patching file app/design/frontend/base/default/template/email/productalert/stock.phtml

patching file app/design/frontend/base/default/template/persistent/customer/form/login.phtml

patching file app/design/frontend/base/default/template/review/form.phtml

patching file app/design/frontend/base/default/template/sales/reorder/sidebar.phtml

patching file app/design/frontend/base/default/template/tag/customer/view.phtml

patching file app/design/frontend/base/default/template/wishlist/view.phtml

patching file app/design/frontend/default/iphone/template/checkout/cart.phtml

patching file app/design/frontend/default/iphone/template/customer/form/login.phtml

patching file app/design/frontend/default/iphone/template/persistent/customer/form/login.phtml

patching file app/design/frontend/default/iphone/template/wishlist/view.phtml

patching file app/etc/modules/Mage_All.xml

patching file app/locale/en_US/Mage_Media.csv

patching file app/locale/en_US/Mage_Uploader.csv

patching file downloader/Maged/Controller.php

patching file downloader/Maged/Model/Session.php

patching file downloader/Maged/View.php

patching file downloader/lib/Mage/HTTP/Client/Curl.php

Hunk #1 FAILED at 372.

1 out of 1 hunk FAILED -- saving rejects to file downloader/lib/Mage/HTTP/Client/Curl.php.rej

patching file downloader/template/connect/packages.phtml

patching file js/lib/uploader/flow.min.js

patching file js/lib/uploader/fusty-flow-factory.js

patching file js/lib/uploader/fusty-flow.js

patching file js/mage/adminhtml/product.js

patching file js/mage/adminhtml/uploader/instance.js

patching file lib/Unserialize/Parser.php

patching file lib/Unserialize/Reader/Arr.php

patching file lib/Unserialize/Reader/ArrValue.php

patching file lib/Unserialize/Reader/Null.php

patching file skin/adminhtml/default/default/boxes.css

patching file skin/adminhtml/default/default/media/flex.swf

patching file skin/adminhtml/default/default/media/uploader.swf

patching file skin/adminhtml/default/default/media/uploaderSingle.swf

9 REPLIES 9

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

We have alot of headache with this patch... It simply doesnt patch well on versions below 1.8.

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

Unfortunately the same is happening to us, no matter reverting the 1533 and installing/reverting the 3941 (although it's not supposed to be used for version below 1.8)... the security patches are becoming a truly nightmare since a year ago; I'm trying to automate the process following this https://github.com/DemacMedia/magento-SUPEE8788-patcher

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

Not working for me either.... Smiley Sad

 

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

I got the v1 8788 patch (SUPEE-8788_CE_1.6.0.0_v1-2016-10-11-06-19-12) to work with 1.6.0.0 after reverting 1533 patch and then manually updating those files in question:

  • app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
  • app/code/core/Mage/Adminhtml/controllers/DashboardController.php

    Hope that helps

 

 

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

@fullenglishhq sorry, can you further explain what I'm supposed to manually update.... those files with the latest 1.9.3 version files? thanks a million!

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

in app/code/core/Mage/Adminhtml/controllers/DashboardController.php

change

 if ($params = unserialize(base64_decode(urldecode($gaData)))) {

to

$params = json_decode(base64_decode(urldecode($gaData)), true);
if ($params) {

 

in app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php

change

$gaData = urlencode(base64_encode(serialize($params)));

to

$gaData = urlencode(base64_encode(json_encode($params)));

 

Hope that helps

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

Thanks @fullenglishhq I'll try it as soon as I solve this problem that might be caused by applying and reverting patches too... (1533, 8788 or 3941... Now, on my frontend I keep getting SQL error Base table or view not found (log tables....)... checking the mentioned table(s) on PhpMyadmin I can see those tables but getting 1146 error "table do not exist" when clicking on them... all the "log" tables except 2 of them seem to be affected: mg_log_quote, mg_log_summary, mg_log_summary_type, mg_log_url, mg_log_url_info, mg_log_visitor, mg_log_visitor_info...

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

I'm not sure how exactly you applied your patches, but apparently your tables have mg_ prefix. It might be that your updates ignored the fact and thus were unable to find tables.

Tanel Raja

Re: Magento 1.6.0.0 & Supee 8788 - PATCH_SUPEE-8788_CE_1.6.0.0_v2-2016-10-14-09-29-30.sh

Thanks @Pronto... I've created the missing tables without problems (mg_log_quote, mg_log_summary, mg_log_summary_type, mg_log_url, mg_log_url_info, mg_log_visitor, mg_log_visitor_info) but I'm facing the following issue with the last one named "mg_report_event" (#1005 - Can't create table '' (errno: -1) )