View Single Post
  #65  
Old 10th October 2006, 21:13
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by madcrock
I also had a problem with logs growing over 1 GB and not being rotated.
It was related with webalizer.php warnings like this:



It's easy to fix. Add $directory_array = array(); just after dir_array function declaration in webalizer.php like this:

Code:
function dir_array($dir){
  $directory_array = array();
  if ($dirstream = @opendir($dir)) {
Everythings works fine for me now.
Do you need to restart anything?
Reply With Quote