There is an issue with the current patch (SUPEE-6788) for Magento 18.104.22.168.
When I try to apply the patch I get the error of:
patching file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php Hunk #1 FAILED at 131. 1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php.rej
When I pulled down a clean version of 22.214.171.124 and did a
diff, there was no difference.
I then looked into the patch file and saw it was expecting another function below line 131.
I found that function is in later versions (126.96.36.199+).
I just added that function to the
app/code/core/Mage/Core/Controller/Varien/Router/Admin.php file, and re-ran the patch and everything worked.
Is that an okay work-around? That function will never be called but I am not sure if this will cause issues later on (like future patches).
According to my applied.patches.list file I applied the following patches: SUPEE-5344, SUPEE-1533, SUPEE-5994, SUPEE-6285, and SUPEE-6482