【发布时间】:2015-05-14 11:18:33
【问题描述】:
我正在尝试在 centOS nginx 服务器上运行的 Magento 1.7.0.2 上安装最新补丁。我已经通过 SSH 将它安装在开发服务器上,并且一切正常。但是,作为 nginx 的实时服务器,我收到了这个错误:
[root@### htdocs]# sh PATCH_SUPEE-5345_CE_1.7.0.2_v1.sh
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 44.
Hunk #2 FAILED at 58.
Hunk #3 FAILED at 69.
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 FAILED at 76.
Hunk #2 FAILED at 530.
2 out of 2 hunks FAILED -- saving rejects to file app/code/core/Mage/Core/Controller/Request/Http.php.rej
patching file app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php
Hunk #1 FAILED at 55.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php.rej
patching file lib/Varien/Db/Adapter/Pdo/Mysql.php
Hunk #1 FAILED at 2672.
1 out of 1 hunk FAILED -- saving rejects to file lib/Varien/Db/Adapter/Pdo/Mysql.php.rej
据我所见,这是由于行结尾,但我仔细检查了这些,它们是 Unix。有没有人遇到过这个问题与nginx有关?任何建议都会很棒!
谢谢
【问题讨论】: