Ive been trying to patch magento with the PHP5.4 patch but i recieve the following error:
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
checking file app/code/core/Mage/Catalog/Model/Product.php
checking file app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
checking file app/code/core/Mage/Install/etc/config.xml
Hunk #1 FAILED at 69.
1 out of 1 hunk FAILED
checking 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.