Ive been trying to patch magento with the PHP5.4 patch but i recieve the following error:
sudo ./P5.4-18.104.22.168-22.214.171.124.shChecking if patch can be applied/reverted successfully...ERROR: Patch can't be applied/reverted successfully.
checking file app/code/core/Mage/Catalog/Model/Product.phpchecking file app/code/core/Mage/Core/Controller/Varien/Router/Standard.phpchecking file app/code/core/Mage/Install/etc/config.xmlHunk #1 FAILED at 69.1 out of 1 hunk FAILEDchecking file app/code/core/Zend/Pdf/FileParserDataSource.php
I have looked aroud online but cannot find anyone with the same error as me however.
Hunk failures are typically line-endings issues as in a dos CRLF file created after a file edit gets uploaded to a Linux system without line ending translation to convert it to LF line endings.
Run the problem file through dos2unix to clear up the line ending issue.