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.
Asked
Active
Viewed 3.5k times
19
-
Have you checked the logs? It's probably invalid XML configuration. Validate your files against the provided schema – scrowler Dec 21 '15 at 10:32
-
from where i can check the logs – Ayush Mittal Dec 21 '15 at 10:49
-
in path : ------- /var/www/html/magento/var/log – Ayush Mittal Dec 21 '15 at 10:50
-
Possible duplicate : http://magento.stackexchange.com/questions/62405/enable-exception-printing-on-the-webpage-in-magento2 – Abdul Dec 21 '15 at 13:12
2 Answers
29
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);
7ochem
- 7,532
- 14
- 51
- 80
Rakesh Jesadiya
- 42,221
- 18
- 132
- 183
-
How we can do the same things at Magento cloud environment as they are write protected. – Sumit Verma Oct 26 '18 at 06:39
0
The techniques provided by magestore to debug https://www.magestore.com/magento-2-tutorial/debug-technique-in-magento-2/
zuber bandi
- 1,062
- 1
- 11
- 22