river2surf, did you ever get this sorted?
I have same problem
Usually you need to use the absolute path – as in, the path from the root directory of the entire server, not just a path relative to the WordPress directory or your home directory.
river2surf
I did get it to work (now just says “The log file is empty” !) with the full path and correct permissions:
You have probably done all this Ok, but just in case it helps, here it is blow by blow:
I created an empty logfile called php-errors.log (initially as a text doc then renamed it).
I dragged it into the existing directory “logfiles” which sits next to the htdocs directory.
I right clicked the php-errors.log file for Options and set its permissions to 664, similar to another log file I found.
I added this to my wp-config.php file.
Was not sure where to out it so did so
after the line:
/* That’s all, stop editing! Happy blogging. */
/** Extras for Log file */
ini_set(‘log_errors’, ‘On’);
ini_set(‘error_log’, ‘/home/linweb25/h/humanbottleneck.com/user/logfiles/php-errors.log’);
then saved it.
I then refreshed the dashboard page:
This stopped the error you posted (just says The log file is empty.), suggesting that it now finds the error log file.
Note:
I moved my error logs out of htdocs for reasons of security, directing them to the higher level folder logfiles.
Good Luck
Richard
river2surf
I am now unsure if it is working as it still just says log file is empty, yet I can see from the “error_log” file in the same logfiles directory, that I have had a dozen or so errors in the last few days.