Showing results for 
Search instead for 
Did you mean: 

Security Patch for Magento 1.9.X

Security Patch for Magento 1.9.X

HI Mages,


Can anyone help to figure out to apply the security patch? After I following the instruction to apply the patch, I got errors, I google for a while and there is no such information can help us to fix the issues.

Refer below error messages:


[root@ magento]# sh
: command not line 7:
' line 9: syntax error near unexpected token `{
' line 9: `_check_installed_tools() {

[root@ magento]#






Re: Security Patch for Magento 1.9.X

Hello @DelanRen 


1. Make sure you have uploaded patch files in the root of magento.

2. Make sure the file name you are typing in the command is right

3. You can follow this guide to know other ways to install the patch on your magento.


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: Security Patch for Magento 1.9.X

HI @theMageComp,


Thanks for your reply, and I did all this again to ensure I put the patch files in the root of magento, and the file anme I am typeing is correct name.


Unlikely, the error occurs again, and please help!





Re: Security Patch for Magento 1.9.X

@DelanRen Are you still receiving the error? Is the error message the same as your original post?


Developer Relations, Adobe Experience Cloud
Problem solved? Click Accept as Solution!
Still stuck? Check out our documentation: