WordPress.org

Ready to get started?Download WordPress

Forums

Error Log Monitor
Does not exist or is inaccessible. (2 posts)

  1. bobby.noonan
    Member
    Posted 1 year ago #

    "The log file /mydirectory/php-errors.log does not exist or is inaccessible."

    It's not working...any help would be much appreciated.

    http://wordpress.org/extend/plugins/error-log-monitor/

  2. Bradley Allen
    Member
    Posted 1 year ago #

    hi bobby.noonan,

    Your server will need write access to the file, so make sure to set the appropriate permissions.

    There are instructions included with the plugin that explain what to do and offer links to more detailed instructions:

    To enable error logging, create an empty file named "php-errors.log". Place it in a directory that is not publicly accessible (preferably outside your web root) and ensure it is writable by the web server. Then add the following code to wp-config.php:

    ini_set('log_errors', 'On');
    ini_set('error_log', '/full/path/to/php-errors.log');

    See also: Editing wp-config.php, 3 Ways To Monitor PHP Errors

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic