我刚刚尝试应用 PATCH_SUPEE-5994,但以下是我收到的消息。还有其他人遇到过这个问题吗?

bash PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php
patching file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
patching file app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
patching file app/code/core/Mage/Customer/Model/Customer.php
patching file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
patching file app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
patching file app/code/core/Mage/Install/Controller/Router/Install.php
patching file app/code/core/Mage/Install/etc/config.xml
Hunk #1 FAILED at 48.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Install/etc/config.xml.rej
patching file app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
patching file downloader/Maged/Model/Connect.php
patching file downloader/Maged/View.php
patching file downloader/template/connect/packages_prepare.phtml
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file downloader/template/connect/packages_prepare.phtml.rej
patching file downloader/template/messages.phtml
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file downloader/template/messages.phtml.rej
patching file get.php
patching file lib/PEAR/PEAR/PEAR.php
patching file lib/PEAR/PEAR/PEAR5.php
patching file lib/Varien/Io/File.php
有帮助吗?

解决方案

我只是有一个失败的补丁安装,因为以前的开发人员只有原因在某种原因编辑了get.php。

在上传问题文件的未定副本后,在您的情况下

  • app / code / core / mage / mage / etc / config.xml
  • 下载/模板/ connect / packages_prepare.phtml
  • 下载/模板/ messages.phtml

再次尝试修补程序。

这是我们被告知时间和时间的原因之一不要编辑核心文件

其他提示

刚发出同样的问题。似乎先前的开发人员删除了Securitye原因的下载目录。(在我的情况下只缺少下载地图)

修补程序首先检查他是否可以修补一切。如果没有 - 在这种情况下,则不会 - 修补程序失败。

for patch_supee-5994_ee_1.14.1.0_215-05-14-05-05-05-14-05-05-02.sh您可以在第133行“退出1”中,因为失败。

所以我评论了第133行,以防止退出,并且修补程序成功地应用。

注意:在我的情况下,只缺少下载地图。

正确安装补丁5994的解决办法:

1 - Open the patch 5994 file with textedit or notepad.

2 - Search for the word "downloader" in the code.

3 - Change the name of the directory "downloader"  with the real name on your server "downloader_fh0******". 

例子 :

change 

downloader/Maged/Model/Connect.php

downloader_fh0******/Maged/Model/Connect.php
这已经是en changed recently in order to avoid someone from outside to take control of the directory.

4 - Save your file and upload it to your server.

5 - Apply the patch.

许可以下: CC-BY-SA归因
scroll top