Olá amigos, desculpe meu inglês.
Minha instalação está dando erro. Podem me ajudar?
/home/fromo458/public_html
fromo458@fromosura.com.br [~/public_html]# sh PATCH_SUPEE-7405_v1.1.sh
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Adminhtml/Helper/Sales.php
Hunk #1 FAILED at 121.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Adminhtml/Helper/Sales.php.rej
patching file app/code/core/Mage/Core/Model/Config.php
Hunk #1 FAILED at 1642.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Core/Model/Config.php.rej
patching file app/code/core/Mage/Sales/Model/Quote/Item.php
Hunk #1 FAILED at 505.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Sales/Model/Quote/Item.php.rej
patching file lib/Varien/File/Uploader.php
Hunk #1 FAILED at 216.
Hunk #2 FAILED at 538.
2 out of 2 hunks FAILED -- saving rejects to file lib/Varien/File/Uploader.php.rej
fromo458@fromosura.com.br [~/public_html]# ^C
fromo458@fromosura.com.br [~/public_html]# pwd
/home/fromo458/public_html
fromo458@fromosura.com.br [~/public_html]# sh PATCH_SUPEE-7405_CE_1.9.0.1_v1.1-2016-02-23-07-40-19.sh
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Adminhtml/Helper/Sales.php
Hunk #1 FAILED at 121.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Adminhtml/Helper/Sales.php.rej
patching file app/code/core/Mage/Core/Model/Config.php
Hunk #1 FAILED at 1642.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Core/Model/Config.php.rej
patching file app/code/core/Mage/Sales/Model/Quote/Item.php
Hunk #1 FAILED at 505.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Sales/Model/Quote/Item.php.rej
patching file lib/Varien/File/Uploader.php
Hunk #1 FAILED at 216.
Hunk #2 FAILED at 538.
2 out of 2 hunks FAILED -- saving rejects to file lib/Varien/File/Uploader.php.rej
fromo458@fromosura.com.br [~/public_html]#
I'm updating by SSH
This same error…
Hi,
Which's current your Magento version?
This issue may occurs when:
-These core files can be modified directly.
-Your site doesn't update previous security path? Your site update SUPEE-7405 (not v1.1)?
-You download the right path for your current Magento version?
we are also having similar error shown below:
1. We did not modified core files.
2. We have installed 7405 v 1 before installing v 1.1
3. We are using correct version.
The error stated "Hunk #1 FAILED at 121" where as file app/code/core/Mage/Adminhtml/Helper/Sales.php even do not have 121 lines.
Anody have solution???
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Adminhtml/Helper/Sales.php
Hunk #1 FAILED at 121.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Adminhtml/Helper/Sales.php.rej
patching file app/code/core/Mage/Core/Model/Config.php
Hunk #1 FAILED at 1642.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Core/Model/Config.php.rej
patching file app/code/core/Mage/Sales/Model/Quote/Item.php
Hunk #1 FAILED at 505.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Sales/Model/Quote/Item.php.rej
patching file lib/Varien/File/Uploader.php
Hunk #1 FAILED at 216.
Hunk #2 FAILED at 538.
2 out of 2 hunks FAILED -- saving rejects to file lib/Varien/File/Uploader.php.rej
Yeah same here, I encountered. Running Magento 1.7.0.0
patching file app/code/core/Mage/Adminhtml/Helper/Sales.php
patching file app/code/core/Mage/Core/Model/Config.php
patching file app/code/core/Mage/Sales/Model/Quote/Item.php
patching file lib/Varien/File/Uploader.php
Hunk #1 FAILED at 216.
1 out of 2 hunks FAILED -- saving rejects to file lib/Varien/File/Uploader.php.rej
Can anyone help us for this?
Same Error, magento CE 1.9.1.1
$sh PATCH_SUPEE-7405_CE_1.9.1.1_v1.1-2016-02-23-07-41-06.sh
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Adminhtml/Helper/Sales.php
Hunk #1 FAILED at 121.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Adminhtml/Helper/Sales.php.rej
patching file app/code/core/Mage/Core/Model/Config.php
Hunk #1 FAILED at 1642.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Core/Model/Config.php.rej
patching file app/code/core/Mage/Sales/Model/Quote/Item.php
Hunk #1 FAILED at 505.
1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Sales/Model/Quote/Item.php.rej
patching file lib/Varien/File/Uploader.php
Hunk #1 FAILED at 216.
Hunk #2 FAILED at 538.
2 out of 2 hunks FAILED -- saving rejects to file lib/Varien/File/Uploader.php.rej
I finally fixed mine. Last January when I applied the patch 7405 v1 the error I encountered was the images uploaded is not showing up to the frontend. So I went to varien/file/uploader.php and edited the line 216 that shows 0640 and replace it with 0666. So when I applied the patched 7405 v1.1 today, I got an error on 216. So what I did was, replaced the 0666 to 0640. Then I applied the patch, voallah patched successfully applied. When I checked the code, it just replaced the 0640 to 0666.
With this v1.1 I can say that, if you fixed the issues from applying v1.0 there's no need for you to patch it with 1.1 but if you still have issues with patch 7405 v1.0 then apply v1.1. NOw if you encounter issues saying "Hunk #1 Failed at XXX" then it means that specific line has been edited and all you have to do is replace it with the original file.
I hope this helps. Thanks!
If you are having hunk failures on all four files that SUPEE-7405 v1.1 patches, it shows that you probably did not apply SUPEE-7405 v1.0
SUPEE-7405 v1.1 is a patch of a patch and therefore depends on SUPEE-7405 v1.0 having been installed and left installed in order for it to apply correctly.
I has the same issue of hunk fails and it turned out that I had not patched the site with V1.
If you are not sure about whether you have applied V1 patch or not, you can simply check applied.patches.list file which is in
root > app > etc folder