0

enter image description herei applied this patch but getting this error saving rejects app/mage.php i have check all previous patches installed and also compare file is same.

  • Please provide the screenshot and clearly explain what is the problem. it will help you provide the solution. – Rama Chandran M Mar 30 '18 at 15:45
  • check screen short plz – imtiaz Mar 30 '18 at 15:49
0

Probably you edited that file in past so it has changes which does not match with patch expectation. You can backup and override Mage.php with the unedited version of your installation (find it on GitHub or download the code from Magento.com). Patch should go through then.

Check the getVersionInfo() method to find the exact version you need to replace if you are not sure. It should be something like:

public static function getVersionInfo()
{
        return array(
            'major'     => '1',
            'minor'     => '9',
            'revision'  => '0',
            'patch'     => '1',
            'stability' => '',
            'number'    => '',
        );
}
| improve this answer | |

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.