Goforich
Forum Replies Created
-
Thanks Janis
Thanks Janis. Interesting thought.
Below are the last few errors listed in error_log, can you tell me if they look like errors “that happen before/outside WordPress”? This world is unfamiliar to me!cheers
richard[Sat Oct 17 23:46:48 2015] [error] [client 81.174.135.228] Premature end of script headers: php54-cgi, referer: https://www.humanbottleneck.com/wp-admin/index.php
[Sat Oct 17 23:47:04 2015] [warn] mod_fcgid: read data timeout in 60 seconds
[Sat Oct 17 23:47:04 2015] [error] [client 192.0.84.33] Premature end of script headers: php54-cgi
[Sat Oct 17 23:52:15 2015] [warn] mod_fcgid: read data timeout in 60 seconds
[Sat Oct 17 23:52:15 2015] [error] [client 81.174.135.228] Premature end of script headers: php54-cgi, referer: https://www.humanbottleneck.com/wp-admin/index.php
[Sun Oct 18 23:46:51 2015] [warn] mod_fcgid: read data timeout in 60 secondsForum: Plugins
In reply to: [Error Log Monitor] unable to start pluginriver2surf
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.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.
Forum: Plugins
In reply to: [Error Log Monitor] unable to start pluginriver2surf
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.Janos,
Where would I usually go to find the full path?I only came across it by accident while delving into some other log files on the site.
The “/home/linweb25/h” part was new to me and unexpected.
“log file empty” still, is there any simple way to create an error to test it?Richard
I may have got it working now,
Used filepath derived from error report:
/home/linweb25/h/humanbottleneck.com/user/htdocs/logs/php-errors.log
Now it just says log file is empty, so now waiting for errors!Richard
Forum: Plugins
In reply to: [Error Log Monitor] unable to start pluginriver2surf, did you ever get this sorted?
I have same problem