16 December 2010, 22:05
Hiawatha version: Hiawatha v7.4, cache, Monitor, SSL, URL toolkit, XSLT
Operating System: FreeBSD 8.1
I am getting this error message from one of the cron jobs (the other does not generate errors):
PHP Notice: Undefined index: 127.0.0.1 in /usr/local/www/monitor/libraries/http.php on line 47
My /var/log/hiawatha/monitor-access.log shows;
127.0.0.1 - - [16/Dec/2010:22:05:00 +0100] "GET / HTTP/1.0" 200 294 "-" "Mozilla/5.0 (compatible; Banshee HTTP class)"
Nothing in the monitor-error.log
I've set up hiawatha monitoring according to the readme file.
Unpacked the monitor package
Added MonitorServer = 127.0.0.1 to hiawatha.conf
Added MonitorRequests = yes to all virtualhosts in hiawatha.conf
Created the virtualhost for the monitor site, including the banshee UrlToolkit in hiawatha.conf
Edited php.ini and set cgi.rfc2616_headers = 1, magic_quotes_gpc = Off and register_globals = Off
Ran database/setup_database and provided the mysql password
Added the two cronjobs
I can log into the monitor site
Added a Webserver in the CMS with IP 127.0.0.1, port 80 no SSL
Got any ideas how I can fix it ?
17 December 2010, 23:39
The error is just a 'notice'. Add "error_reporting(E_ALL & ~E_NOTICE);" to databases/fetch_webserver.log directory under the 'Main program' comment (line 104).
Note that it may take some time when the first logs appear due to caching of the log entries for improved performance. Just keep it running for a few hours and you should see logs appear.
This topic has been closed.