/root/ispconfig/scripts/shell/webalizer.php is broken

Discussion in 'General' started by martinoc, Dec 19, 2005.

  1. martinoc

    martinoc New Member

    The logfile facility in webalizer.php is broken:

    Code:
    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please check if you have set the correct Apache log file under Management -> Server -> Settings -> Web. Also check if the file exists.
     
  3. martinoc

    martinoc New Member

    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.
     
    Last edited: Dec 20, 2005

Share This Page