Error in Enabling Error Reporting
-
I am encountering the error below in the admin dashboard after following the instructions for setting up a php_errors.log file in the so-named link. Is the absolute path I used incorrect? I have adjusted it several ways, but w/out success. I also gave both user & group r-w-e permissions.
“
The log file https://www.ahy4life.com/public_html/update_20121008/php-errors.log does not exist or is inaccessible.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
”
- The topic ‘Error in Enabling Error Reporting’ is closed to new replies.