ssh - Error in installing patch 7405 of magento -


i have downloaded file link : https://github.com/brentwpeterson/magento-patches/blob/master/ce1.9-ee1.14/patch_supee-7405_ce_1.9.0.1_v1-2016-01-20-04-45-14.sh , has kept in root folder. when run command :

bash patch_supee-7405_ce_1.9.0.1_v1-2016-01-20-04-45-14.sh 

then gives me error:

patch_supee-7405_ce_1.9.0.1_v1-2016-01-20-04-45-14.sh: line 7: $'\r': command not found patch_supee-7405_ce_1.9.0.1_v1-2016-01-20-04-45-14.sh: line 9: syntax error near unexpected token `$'{\r'' patch_supee-7405_ce_1.9.0.1_v1-2016-01-20-04-45-14.sh: line 9: `_check_installed'tools() { 

i following link: magento 1.7.2 security patch error via ssh. trying running

yum install patch 

but not getting installed move further giving me error. have not installed previous patches, patch dependent on previous patch?

i want let know had made changes in core files have reverted them , after installing 4291,6237,7616 patch trying run command:

sh patch_supee-7405_ce_1.9.0.1_v1-2016-01-20-04-45-14.sh 

now getting error:

    checking file app/code/core/mage/admin/model/observer.php hunk #2 failed @ 43. hunk #3 succeeded @ 64 fuzz 2 (offset -4 lines). 1 out of 3 hunks failed checking file app/code/core/mage/admin/model/redirectpolicy.php checking file app/code/core/mage/admin/model/resource/user.php checking file app/code/core/mage/admin/model/user.php checking file app/code/core/mage/adminhtml/block/sales/order/view/tab/history.php checking file app/code/core/mage/adminhtml/block/widget/grid.php checking file app/code/core/mage/adminhtml/helper/catalog/product/edit/action/attribute.php checking file app/code/core/mage/adminhtml/helper/sales.php checking file app/code/core/mage/adminhtml/model/system/config/backend/file.php checking file app/code/core/mage/adminhtml/model/system/config/backend/image.php checking file app/code/core/mage/adminhtml/model/system/config/backend/image/favicon.php checking file app/code/core/mage/adminhtml/controllers/indexcontroller.php checking file app/code/core/mage/authorizenet/helper/admin.php checking file app/code/core/mage/authorizenet/helper/data.php checking file app/code/core/mage/authorizenet/controllers/adminhtml/authorizenet/directpost/paymentcontroller.php checking file app/code/core/mage/captcha/etc/config.xml checking file app/code/core/mage/catalog/block/product/view/options/type/select.php checking file app/code/core/mage/catalog/model/category/attribute/backend/image.php checking file app/code/core/mage/catalog/model/resource/product/attribute/backend/image.php checking file app/code/core/mage/catalogindex/etc/config.xml checking file app/code/core/mage/cataloginventory/helper/minsaleqty.php checking file app/code/core/mage/checkout/block/cart/item/renderer.php checking file app/code/core/mage/checkout/controllers/cartcontroller.php checking file app/code/core/mage/checkout/controllers/onepagecontroller.php checking file app/code/core/mage/core/helper/data.php checking file app/code/core/mage/core/model/app.php checking file app/code/core/mage/core/model/config.php checking file app/code/core/mage/core/model/email/template/filter.php hunk #1 failed @ 166. hunk #2 succeeded @ 177 (offset -10 lines). 1 out of 2 hunks failed checking file app/code/core/mage/core/model/file/validator/image.php checking file app/code/core/mage/core/model/input/filter/maliciouscode.php checking file app/code/core/mage/core/model/session.php checking file app/code/core/mage/customer/controllers/accountcontroller.php hunk #1 succeeded @ 65 (offset -3 lines). checking file app/code/core/mage/dataflow/model/convert/parser/csv.php hunk #2 failed @ 264. 1 out of 2 hunks failed checking file app/code/core/mage/downloadable/controllers/customercontroller.php checking file app/code/core/mage/importexport/model/export/adapter/abstract.php checking file app/code/core/mage/importexport/model/export/adapter/csv.php hunk #2 failed @ 118. hunk #3 succeeded @ 121 (offset -12 lines). 1 out of 3 hunks failed checking file app/code/core/mage/importexport/model/import/entity/abstract.php checking file app/code/core/mage/importexport/etc/config.xml checking file app/code/core/mage/importexport/etc/system.xml checking file app/code/core/mage/newsletter/model/observer.php checking file app/code/core/mage/newsletter/model/queue.php checking file app/code/core/mage/page/etc/system.xml checking file app/code/core/mage/paypal/controllers/payflowcontroller.php checking file app/code/core/mage/paypal/controllers/payflowadvancedcontroller.php checking file app/code/core/mage/paypal/etc/config.xml checking file app/code/core/mage/persistent/etc/config.xml checking file app/code/core/mage/review/controllers/productcontroller.php checking file app/code/core/mage/rss/block/catalog/salesrule.php checking file app/code/core/mage/rss/helper/order.php checking file app/code/core/mage/sales/helper/guest.php checking file app/code/core/mage/sales/model/quote/address.php checking file app/code/core/mage/sales/model/quote/item.php can't find file patch @ input line 2014 perhaps used wrong -p or --strip option? text leading was: -------------------------- |diff --git app/code/core/zend/xml/security.php app/code/core/zend/xml/security.php |index a3cdbc8..8b697b9 100644 |--- app/code/core/zend/xml/security.php |+++ app/code/core/zend/xml/security.php -------------------------- file patch: skip patch? [y] skipping patch. 3 out of 3 hunks ignored checking file app/design/adminhtml/default/default/template/authorizenet/directpost/iframe.phtml checking file app/design/adminhtml/default/default/template/bundle/sales/creditmemo/create/items/renderer.phtml checking file app/design/adminhtml/default/default/template/bundle/sales/creditmemo/view/items/renderer.phtml checking file app/design/adminhtml/default/default/template/bundle/sales/invoice/create/items/renderer.phtml checking file app/design/adminhtml/default/default/template/bundle/sales/invoice/view/items/renderer.phtml checking file app/design/adminhtml/default/default/template/bundle/sales/order/view/items/renderer.phtml checking file app/design/adminhtml/default/default/template/bundle/sales/shipment/create/items/renderer.phtml checking file app/design/adminhtml/default/default/template/bundle/sales/shipment/view/items/renderer.phtml checking file app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/file.phtml checking file app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/creditmemo/name.phtml checking file app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/invoice/name.phtml checking file app/design/adminhtml/default/default/template/downloadable/sales/items/column/downloadable/name.phtml checking file app/design/adminhtml/default/default/template/sales/items/column/name.phtml checking file app/design/adminhtml/default/default/template/sales/items/renderer/default.phtml checking file app/design/adminhtml/default/default/template/sales/order/totals/discount.phtml checking file app/design/adminhtml/default/default/template/sales/order/view/info.phtml checking file app/design/frontend/base/default/template/catalog/product/view/options/type/file.phtml checking file app/design/frontend/base/default/template/rss/order/details.phtml hunk #1 succeeded @ 77 (offset -1 lines). checking file lib/varien/file/uploader.php checking file lib/varien/io/file.php hunk #1 failed @ 227. 1 out of 1 hunk failed 


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -