cancel
Showing results for 
Search instead for 
Did you mean: 

Error message while updating patch SUPEE-5344

Error message while updating patch SUPEE-5344

While I was trying to update security patches of Magento I got following error message.


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

How can I update patches in this regard ??

 

11 REPLIES 11

Re: Error message while updating patch SUPEE-5344

Hi @foysal,

 

Can you please check this guide first: http://magecomp.com/blog/how-to-install-magento-security-patches/

It will help you install patches without any issue.

 

If you still face the issue, let me know. I will help you out.

 

SECURITY DISCLAIMER: The above website contains Magento Security Patch files which are self-hosted by the user and as such unsafe. Magento Forum advise all users to only download patch files from the official Magento Downloads page. 

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Error message while updating patch SUPEE-5344

@theMageComp Thanks for your reply.

I tried to update patches as per your instruction. I got result as success. I updated SUPEE 5344 and 1533 patches. But I found these message WARNING: This site appears to be vulnerable. Please patch it immediately! from http://magento.com/security-patch site while I was tring to verify. 

Could you please say where is the problem??


Thanks

Foysal

Re: Error message while updating patch SUPEE-5344

I am assuming you are using the .sh version of the patch?

 

How are you running it?

Magento Moderator since 2009
Keep Calm and Clear Cache!

Re: Error message while updating patch SUPEE-5344

Hello @foysal

 

Pleae ensure you are installing patches of the Magento version you are using,

Warning will only show if one of them is not installed properly or got any error while installing the patch,

 

If you are unable to trace it out, do contact us, we help you with patch installation for every community member for FREE.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Error message while updating patch SUPEE-5344

@theMageComp thanks for your reply. Yes,I used .sh version of the patch. Files are PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh  and PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh . I run the those files as per this site (http://magecomp.com/blog/how-to-install-magento-security-patches/). I run those files as like below 

<?php

       print("<PRE>");

       passthru("/bin/bash PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh");

       print("</PRE>");

       echo "Done";

?>

 

Now I am getting following error message.


Checking if patch can be applied/reverted successfully...

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

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/controllers/DashboardController.php.rej



Should I run all the patches of this page (https://www.magentocommerce.com/products/downloads/magento/) ??

Thanks all

Foysal

Re: Error message while updating patch SUPEE-5344

@theMageComp Are you there ??

Thanks

Foysal

Re: Error message while updating patch SUPEE-5344

Hello @foysal

 

Please use Method 3 to install the patches, it seems you are using Magento 1.9

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Error message while updating patch SUPEE-5344

Thanks @theMageComp for your reply. Now I applied method 3 to install the patches. But the result is as previous. 

I have a question in this regard, Should I apply all the patches of this page (https://www.magentocommerce.com/products/downloads/magento/) ??


Thanks

Foysal

Re: Error message while updating patch SUPEE-5344

Hello @foysal

 

You need to apply 2 patches depending on the Magento version you are using. You can PM us the details, we will be happy to help you with the patch installation on your Magento store.  

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now