We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10525
    • 247 Posts
    Sorry for having to post this question, but searching for "debug" in MODX Docs gives me:
    There were no search results for the search "debug". Please try using more general terms to get more results.
    I am unsure as to what exactly this search function searches...


    Anyway, I am having difficulty in getting basic php error messages on my screen.
    All I get in my MODx error log is:
    [2013-12-12 12:31:25] (DEBUG @ /buyback/index.php) Language string not found: "The data being affected."
    [2013-12-12 12:31:25] (DEBUG @ /buyback/index.php) Language string not found: ""
    [2013-12-12 12:31:25] (DEBUG @ /buyback/index.php) Language string not found: "The type of conditional."
    [2013-12-12 12:31:25] (DEBUG @ /buyback/index.php) Language string not found: ""
    [2013-12-12 12:31:25] (DEBUG @ /buyback/index.php) Language string not found: "EQ"
    [2013-12-12 12:31:25] (DEBUG @ /buyback/index.php) Language string not found: "NEQ"
    [2013-12-12 12:31:25] (DEBUG @ /buyback/index.php) Language string not found: "LT"
    etc...
    I am developing a simple snippet with database queries. I'm getting to grips with PDO stuff that I haven't before and really need to see my errors.

    Should I control this from the snippet, MODx, Plesk or php.ini or .htaccess?

    Has to be a quick method that's easy to switch on and off.

    Any recommendations?

    I use
    MODX Revolution 2.2.10-pl (traditional)
    Parallels Panel (Plesk) 11.5.30
    PHP 5.3.3
    Linux [ed. note: Gav last edited this post 12 years, 9 months ago.]