Got the following
PHP Warning: file(/var/log/squid/cache.log): failed to open stream: No such file or directory in /usr/local/www/diag_logs_proxy.php on line 60
/var/log/squid is empty
There should be a check on if the file exists similar too
if (file_exists($logfile) {
Not exactly sure how to finish this one off but I guess you will figure it out :-)
I can see that in dia_logs_relayd.php it is OK as there is an empty logfile created - may the solution is to create /var/log/squid/cache.log (though there should still really be if_exists in case of problems)