We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23094
    • 59 Posts
    When my provider disable MySQL server I see debug text on www:

    « MODx Parse Error »
    [a lot of informations (mysql user name etc) that I don’t want to present here!!]

    I did not know before that it is displayed on any bug (this time not database connection). How to disable it? I need debugging only on local machine.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Does that show even if you’re not logged in as a Manager user? Usually a visitor will just get a blank page. Some major PHP fatal errors override the MODx settings, however.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 23094
        • 59 Posts
        Yes, when I test now (for test I changed database name and phx plugin folder), I get « MODx Parse Error » and a lot of info with database name, pathes etc. I don’t want to every users see info like that