立即在Magento中实施最新的安全补丁



当我尝试更新安全补丁时,我收到以下错误消息。

Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Admin/Model/Observer.php
Hunk #1 FAILED at 37.
Hunk #2 FAILED at 44.
Hunk #3 FAILED at 55.
3 out of 3 hunks FAILED -- saving rejects to file app/code/core/Mage/Admin/Model/Observer.php.rej
patching file app/code/core/Mage/Core/Controller/Request/Http.php
Hunk #1 succeeded at 39 with fuzz 1 (offset 1 line).
Hunk #2 succeeded at 537 (offset 1 line).
patching file lib/Varien/Data/Collection/Db.php
Hunk #1 FAILED at 442.
1 out of 1 hunk FAILED -- saving rejects to file lib/Varien/Data/Collection/Db.php.rej

如何更新这方面的补丁?

这些核心文件中是否有任何自定义更改? 问题要么是与修补程序文件不匹配,要么是版本不匹配。一种解决方案可能是通过打开PATCH.xxxxx-xxxxx.sh文件来手动将修补程序应用于文件,并查看文件路径和行号以进行比较,并查看添加/更改行的位置(前面 + 以及应该删除哪些行(前面的 - )。

最新更新