I have successfuly patched some of my Magento installations, but I am having trouble with just 2 of them. One is 126.96.36.199 and the other is 188.8.131.52. I downloaded the respective patches:
I was given the successful message upon applied using SSH. The problem is that when I use http://magento.com/security-patch to check the installations, the online tool reports:
"WARNING: This site appears to be vulnerable. Please patch it immediately!"
I even rolled back the files and databases 1-2 months ago just to check and reapplied the patches, no joy. Then I thought maybe something was wrong with the files that are getting patched, so at the 184.108.40.206 installation, I downloaded magento v220.127.116.11 and replaced the following files with their default ones:
I tried patching again, the message was successful, but the online checker tool reports the site is vulnerable.
I did the following after each patching try:
1) flushed cache both from Admin and by removing /var/cache/*
2) chowned the patched files back to their own user
I am totally lost here, don't know what else to try. Any suggestions you be great. And one more question, is http://magento.com/security-patch checking only against SUPEE-5344 and SUPEE-1533 or for every other patch too?
Thank you in advance.
Please follow this blog post,
If you still face issues, feel free to contact us, we are helping wth the patch installation to all the community members for FREE.
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.
Hello and thank you for your answer,
The only thing I haven't tried and is mentioned at the page you posted is disable the Compiler. I will be sure to test it out and report back here wether that helped or not.
One clarification, though, the proper way of testing it now would be to:
1) Revert the 2 security patches using sh PATCH-name.sh -R
2) Disable the Compiler
3) Clear caches
4) Apply the 2 security patches
5) Clear caches
6) Enable the Compiler
Are the above steps correct both in meaning and in order?
Last question, I have seen back in the old days that playing with Compiler can easily mess up the installation. What happens if I eventually can't disable it?
Thank you a lot.
After you install the patch you'll need to recompilie if using that feature.
The compiler's main job is to copy / concatenate all of your source files into a single directory so the Magento Autoloader doesn't have to parse your directory structure to see if you've overriden any of the Core file logic every time it executes a request.
That means you will have patched the SOURCE files, but your COMPILED files still contain the vulnerable unpatched versions.
Anytime you make any changes to your system (themes, extensions, patches, updates) these will updates files in your main Magento path. The files in the includes/src/ directory (where the compiler leaves its files) will remain unchanged until you recompile or disable compilation alltogether.
Let me know if this helps. I originally thought the Magento compiler was like the ones I was used to in C or C++ or at least converting the PHP code into executable OPCodes. Really, it's job is to just ensure that the Autoloader is more efficient: