1

I have been having the below error when I try to patch my Magento store 1.9.2.0

patching file app/code/core/Mage/Cms/etc/config.xml Hunk #1 FAILED at 190. 1 out of 1 hunk FAILED -- saving rejects to file app/code/core/Mage/Cms/etc/config.xml.rej Could I get some help with this please? Thanks

  • Try to delete the file app/code/core/Mage/Cms/etc/config.xml and patch again. Make a backup of it first. – Black Apr 12 at 17:47
  • @Black Do I add the file app/code/core/Mage/Cms/etc/config.xml once the patch is successful please? – Tank Apr 12 at 18:58
  • Maybe add your problem here: magento.stackexchange.com/questions/267490/… – sv3n Apr 15 at 11:01
1

I noticed the file app/code/core/Mage/Cms/etc/config.xml on my server had been edited manually, <pdf>1</pdf> had been added to the list

<allowed> <jpg>1</jpg> <jpeg>1</jpeg> <png>1</png> <gif>1</gif> </allowed>

So I uploaded a fresh copy of file app/code/core/Mage/Cms/etc/config.xml applied the patch then added the previous changes. Everything works fine now. Thank @Black

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.