Error Log Dashboard Widget
[resolved] Just checking.. (5 posts)

  1. DivaVocals
    Posted 3 years ago #

    this is what I added to my wp-config.php file..

    // log php errors
    define('WP_DEBUG', true); // enable debugging mode
    @ini_set('log_errors','On'); // enable or disable php error logging (use 'On' or 'Off')
    @ini_set('display_errors','Off'); // enable or disable public display of errors (use 'On' or 'Off')
    @ini_set('error_log','/public_html/MY_SITE/MY_FOLDER/php-errors-dev.log'); // path to server-writable log file

    I ask because while it appears to be working as the dashboard widget says

    No errors found... Yet.

    it seemed just too darned easy.. **LOL** So I thought I'd check.. :)


  2. Andrey "Rarst" Savchenko
    Plugin Author

    Posted 3 years ago #

    If there aren't any errors in that file then everything is ok. :)

    If there are errors, but widget isn't showing them - then not ok.

  3. DivaVocals
    Posted 3 years ago #

    There are errors.. and the widget isn't showing them.. Verified this by checking my host's error logs..

  4. Andrey "Rarst" Savchenko
    Plugin Author

    Posted 3 years ago #

    Sorry for late reply, my feed reader is missing your last answer for some reason. :\

    Looking at your snippet your path for log might be off, starting it with / means look for it relative to the very root of file system. I doubt you have public_html folder right in root?..

  5. DivaVocals
    Posted 2 years ago #

    I dunno.. Got tired of messing with this.. I found a MUCH easier error log plugin to use instead.. Installed. activated, and DONE..

    Thanks anyway for your help..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.