I am unable to see any type of error in magento2. i am implementing custom payment gateway but when i add a dropdown list in backend admin panel of magento2 At that time its shows blank page and when i console it shows only 500 internal server error.

up vote 22 down vote accepted

Go inside root pub/errors folder,

Just copy local.xml.sample to local.xml

Also you can enable display_errors from app/bootstrap.php file. At line no. 11 remove # from the start of the line.

Now the final statement displays as ini_set('display_errors', 1);

  • How we can do the same things at Magento cloud environment as they are write protected. – Sumit Verma Oct 26 at 6:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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