2017-06-10 8 views
0

次のエラーが表示され、その理由がわかりません。すべての拡張機能は、コードコードに影響しないように正しくインストールされています。Magento 1.9.2.4にPATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56をインストールする際のエラー

アイデア?

sudo sh ./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh 
./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh: 14: ./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh: 127: not found 
./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh: 14: ./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh: 127: not found 
./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh: 25: ./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh: 0: not found 
Checking if patch can be applied/reverted successfully... 
-e ERROR: Patch can't be applied/reverted successfully. 

checking file app/code/core/Mage/Admin/Model/Session.php 
checking file app/code/core/Mage/Adminhtml/Block/Checkout/Formkey.php 
checking file app/code/core/Mage/Adminhtml/Block/Notification/Symlink.php 
checking file app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Date.php 
checking file app/code/core/Mage/Adminhtml/Model/Config/Data.php 
checking file app/code/core/Mage/Adminhtml/controllers/Catalog/Product/GalleryController.php 
checking file app/code/core/Mage/Checkout/controllers/MultishippingController.php 
checking file app/code/core/Mage/Checkout/controllers/OnepageController.php 
Hunk #1 succeeded at 350 (offset 1 line). 
Hunk #2 succeeded at 370 (offset 1 line). 
Hunk #3 succeeded at 417 (offset 1 line). 
Hunk #4 succeeded at 446 (offset 1 line). 
Hunk #5 succeeded at 485 (offset 1 line). 
checking file app/code/core/Mage/Checkout/etc/system.xml 
checking file app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php 
Hunk #1 succeeded at 282 (offset -1 lines). 
checking file app/code/core/Mage/Core/Controller/Front/Action.php 
checking file app/code/core/Mage/Core/Controller/Request/Http.php 
checking file app/code/core/Mage/Core/Model/File/Validator/Image.php 
checking file app/code/core/Mage/Core/etc/system.xml 
checking file app/code/core/Mage/Customer/Model/Session.php 
checking file app/code/core/Mage/Dataflow/Model/Convert/Adapter/Zend/Cache.php 
checking file app/code/core/Mage/Dataflow/Model/Convert/Container/Abstract.php 
checking file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php 
checking file app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php 
checking file app/code/core/Mage/ImportExport/Model/Import/Uploader.php 
checking file app/code/core/Mage/Sales/Model/Quote/Item.php 
checking file app/code/core/Mage/Widget/Model/Widget/Instance.php 
checking file app/code/core/Mage/XmlConnect/Helper/Image.php 
checking file app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php 
checking file app/design/adminhtml/default/default/layout/main.xml 
checking file app/design/adminhtml/default/default/template/notification/formkey.phtml 
checking file app/design/adminhtml/default/default/template/notification/symlink.phtml 
checking file app/design/adminhtml/default/default/template/page/head.phtml 
checking file app/design/frontend/base/default/template/checkout/cart/shipping.phtml 
checking file app/design/frontend/base/default/template/checkout/multishipping/billing.phtml 
checking file app/design/frontend/base/default/template/checkout/multishipping/shipping.phtml 
checking file app/design/frontend/base/default/template/checkout/onepage/billing.phtml 
checking file app/design/frontend/base/default/template/checkout/onepage/payment.phtml 
Hunk #1 succeeded at 35 (offset -1 lines). 
checking file app/design/frontend/base/default/template/checkout/onepage/shipping.phtml 
checking file app/design/frontend/base/default/template/checkout/onepage/shipping_method.phtml 
checking file app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml 
checking file app/design/frontend/rwd/default/layout/page.xml 
checking file app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml 
checking file app/design/frontend/rwd/default/template/checkout/multishipping/addresses.phtml 
checking file app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml 
checking file app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml 
Hunk #1 succeeded at 36 (offset -1 lines). 
checking file app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml 
checking file app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml 
checking file app/etc/config.xml 
checking file app/locale/en_US/Mage_Adminhtml.csv 
Hunk #1 succeeded at 1281 (offset -4 lines). 
checking file app/locale/en_US/Mage_Core.csv 
Hunk #1 succeeded at 406 (offset -1 lines). 
checking file app/locale/en_US/Mage_Dataflow.csv 
checking file app/locale/en_US/Mage_XmlConnect.csv 
checking file downloader/Maged/Connect.php 
Reversed (or previously applied) patch detected! Assume -R? [n] 
Apply anyway? [n] 
Skipping patch. 
3 out of 3 hunks ignored 
checking file downloader/Maged/Controller.php 
Reversed (or previously applied) patch detected! Assume -R? [n] 
Apply anyway? [n] 
Skipping patch. 
2 out of 2 hunks ignored 
checking file downloader/Maged/Model/Session.php 
Hunk #1 succeeded at 96 with fuzz 2 (offset 14 lines). 
Hunk #2 succeeded at 302 with fuzz 2 (offset 29 lines). 
checking file js/lib/jquery/jquery-1.12.0.js 
checking file js/lib/jquery/jquery-1.12.0.min.js 
checking file js/lib/jquery/jquery-1.12.0.min.map 
checking file js/varien/payment.js 
checking file skin/frontend/base/default/js/opcheckout.js 
Hunk #1 succeeded at 711 (offset 27 lines). 
+0

Stack Overflowが[プログラミング関連](http://stackoverflow.com/help/on-topic)のQ&Aサイトであるため、この質問をトピックとしてクローズすることにしました。あなたの質問はプログラミングに関するものではありません。おそらくあなたは代わりにhttp://magento.stackexchange.comに投稿する必要がありますか? – Enigmativity

答えて

0

通常、ファイルの行と一致しないため、ハンクエラーが発生していました。この場合、2つのことができます。

  1. 新しい同じバージョンMagentoのセットアップでこれらの言及エラーファイルを交換して、SSHを使用してパッチをインストールしてみてください。
  2. 手動でパッチをインストールしてください。

フロントエンドのこのパッチでは、フォームのキーのみがチェックアウトとカートファイルに追加されているので、手動で行うことができます。

ありがとうございました。

0

私も同様の問題がありました。現在のプロジェクトから、より良い(それをダウンロードし、バージョンが異なることができます -

  1. チェックあなたがいない場合は、プロジェクトの「ダウンローダ」フォルダを、持っている場合(通常は、それはgitの下ではありません):私のための ソリューションは、次のでした);
  2. パッチの説明 - 「バージョン2を導入する前にSUPEE-9767バージョン1を元に戻す必要があることに注意してください。」 ($ bash ./PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017- 05-25-09-09-56.sh -R) その後、2番目のバージョンにパッチを当ててみてください。
関連する問題