1

How to hide/ disable notices or warning in magento 1.8 ?

3
  • What you mean hide/ disable notices. admin notification?
    – Amit Bera
    May 3, 2016 at 8:17
  • Actually i need to put folder permission on media 0555 this is our requirement .doing so there is an message like folder dont writeable folder dont writeable comes.how to get rid from this.for this i want to hide notices May 3, 2016 at 8:24
  • Any suggession will be appreciated.also tell me what permission allowed by Magento for var folder May 3, 2016 at 8:26

1 Answer 1

1

Please add below line code in your index.php file.

  error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

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.