PDA

View Full Version : /root/ispconfig/scripts/shell/webalizer.php is broken


martinoc
19th December 2005, 02:12
The logfile facility in webalizer.php is broken:


Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/webalizer.php on line 161

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/webalizer.php on line 161

falko
19th December 2005, 11:02
Please check if you have set the correct Apache log file under Management -> Server -> Settings -> Web. Also check if the file exists.

martinoc
20th December 2005, 05:45
The webalizer.php file does not touch the logfile listed under Management -> Server -> Settings -> Web. That file is processed by logs.php.

webalizer.php will process /var/www/web1/log/2005/12/web.log

This file should be truncated once the its size exceeds the definded size.

I would suspect that the Apache logfile size limit is set in relation to /var/log/httpd/ispconfig_access_log and not the above file.