Warning: unlink(d:\cacti/log/cacti.log) [function.unlink]: Permission denied in d:\cacti\utilities.php on line 195
Warning: touch() [function.touch]: Utime failed: Permission denied in d:\cacti\utilities.php on line 196
log directory has the right permission setup (Now I have full permission). Anyway, I checked that line the error is talking about...but what am I not seeing here?
function utilities_clear_logfile() {
$logfile = read_config_option("path_cactilog");
if ($logfile == "") {
$logfile = "./log/rrd.log";
}
if (file_exists($logfile)) {
unlink($logfile);
touch($logfile);
}
}
Poller Cache also never clears...