Hi to everyone!
How do I avoid PHP Parse Errors displaying in browser? They show sensitive information when they occur... I’ve already checked php.ini and all errors display options and I think all are OFF, nevertheless, I always see PHP parse errors in the browser...
Thanks in advance
Carlos
-
MODX Staff
- 10,725 Posts
Fatal PHP parse errors are always reported by MODx if encountered; the best way to not display them is to get rid of the bad code that is causing the parser errors to occur. Without more specific information on the parse errors though, it’s going to be difficult to advise you further.