Now I have the next error:
error_log:
[Tue Jul 17 18:09:45 2012] [error] [client 192.168.1.2] PHP Warning: nl2br() expects parameter 1 to be string, array given in /usr/local/ispconfig/interface/web/monitor/show_log.php on line 127, referer:
https://192.168.1.101:8080/index.php#
/* fetch the Data from the DB */
$record = $app->db->queryOneRecord("SELECT data, state FROM monitor_data WHERE type = '" . $app->db->quote($logId) . "' and server_id = " . $_SESSION['monitor']['server_id'] . " order by created desc");
if(isset($record['data'])) {
$data = unserialize($record['data']);
$logData = nl2br($data);
$app->tpl->setVar("log_data", $logData);
} else {
$app->tpl->setVar("log_data", $app->lng("no_logdata_txt"));
}
$app->tpl->setVar("list_head_txt", $title);
$app->tpl->setVar("log_id",$logId);
$app->tpl->setVar("list_desc_txt", $description);
$app->tpl->setVar("time", getDataTime($logId));
$app->tpl->setVar("monTransDate", $monTransDate);
$app->tpl->setVar("monTransRefreshsq", $monTransRefreshsq);
$app->tpl_defaults();
$app->tpl->pparse();
access_log:
192.168.1.2 - - [17/Jul/2012:18:21:59 +0200] "GET /monitor/show_data.php?type=fail2ban HTTP/1.1" 200 261 "https://192.168.1.101:8080/index.php#" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
Recent comments
1 day 16 hours ago
1 day 18 hours ago
2 days 6 hours ago
2 days 9 hours ago
2 days 13 hours ago
2 days 19 hours ago
3 days 5 hours ago
3 days 6 hours ago
3 days 15 hours ago
3 days 16 hours ago