Hi All,
Is there any way to disable a MODx Parse Error information to be visible to all users
For example:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect(): Can't connect to MySQL server.......
Thanks!
-
☆ A M B ☆
- 24,524 Posts
The OnParseDocument event is used by the phx plugin to insert its own code into the MODx parser. At that point during the processing of a document, the phx code can do its own processing of its own placeholders and the phx modifiers in other MODx tags in the document's content.
All plugins work in the same way. They use the different System Events that MODx has in its code as entry points for their own processing. This way a developer does not have to modify any of the MODx core code to provide custom functionality.