• Hi,

    Because my site has been producing intermittent “500” errors, I installed Error Log Monitor. I’ve reviewed my wp-config.php files and the string used to define the error log file; however, there are no entries in the log file (or emails) indicated.

    Your help appreciated!

    Thanks,

    Dave

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dahornor

    (@dahornor)

    This is what I have in wp-config.php

    define( ‘WP_DEBUG’, true );

    //Enable error logging.
    @ini_set(‘log_errors’, ‘On’);
    @ini_set(‘error_log’, ‘/home/davhor32/elimchristianschool.org/wp-content/elm-error-logs/php-errors.log’);

    //Don’t show errors to site visitors.
    @ini_set(‘display_errors’, ‘Off’);
    if ( !defined(‘WP_DEBUG_DISPLAY’) ) {
    define(‘WP_DEBUG_DISPLAY’, false);
    }

    Plugin Author Janis Elsts

    (@whiteshadow)

    The code looks fine to me. What does the plugin show in the dashboard widget? Does it just say “the log file is empty”?

    There is a small chance that the 500 errors might not be caused by PHP. In that case, nothing would show up in this log. If possible please check the Apache web server error log – it might provide some clues.

    Thread Starter dahornor

    (@dahornor)

    Yes, it just says “the log file is empty”. I’m not sure how to check the Apache web server error log, but I’ll look into that.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“500” Errors Not Producing Log Entries’ is closed to new replies.