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 11 months 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 8 months 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

Reply

You must log in to post.

About this Plugin

About this Topic