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.

2
  • Please provide the screenshot and clearly explain what is the problem. it will help you provide the solution. Commented Mar 30, 2018 at 15:45
  • check screen short plz
    – imtiaz
    Commented Mar 30, 2018 at 15:49

1 Answer 1

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'    => '',
        );
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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