سؤال

When I applied today's patch (https://magento.com/security/patches/supee-7405), it thrown this error:

Hunk #1 FAILED at 227. 1 out of 1 hunk FAILED -- saving rejects to file lib/Varien/Io/File.php.rej

However there is no such file called File.php.rej.

I am not sure what does this mean?

هل كانت مفيدة؟

المحلول

The message is misleading. The patch scripts from Magento actually revert every change they made, as soon as they encounter a problem, that means:

  1. no files are patched
  2. no .rej files are created

The error you see, happens when a file is not exactly the same that the patch expects, this can mean one of these things:

  1. the file was changed manually (somebody touched the core!)
  2. you downloaded the patch for a different Magento version
  3. you did not apply all previous patches for your Magento version
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top