magento:-e错误:补丁无法成功应用/恢复

时间:2015-04-17 15:01:56

标签: patch magento-1.9.1

当我尝试安装路径PATCH_SUPEE-1533时出现此错误。 我有magento 1.9.1.0

sh PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh 
PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh: 24: 127: not found
PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh: 24: 127: not found
PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh: 29: 0: not found
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/Dashboard/Graph.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php.rej
patching file app/code/core/Mage/Adminhtml/controllers/DashboardController.php

感谢

2 个答案:

答案 0 :(得分:2)

安全补丁SUPEE-1533已经存在于magento 1.9.1.0中。

答案 1 :(得分:1)

检查补丁适用的两个文件: 应用程序/代码/核心/法师/ Adminhtml /砌块/仪表板/ Graph.php 应用程序/代码/核心/法师/ Adminhtml /控制器/ DashboardController.php

在这两者中搜索序列化。如果您发现序列化或反序列化,则需要手动应用修复程序。

请参阅Graph.php补丁文件中的第171,172行和DashboardController.php的184,185,186