[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] UI Problem with active monitor



I've had the same problem. I've simply edited the file
diskUsage.cgi, line 204, changing 

sprintf $fmt, $siteUsed / ($siteTotal) * 100 : '?';

to

sprintf $fmt, $siteUsed / ($siteTotal+1) * 100 : '?';

I do not know what the real problem is, because after
entering in the section DISK of active monitor, at
usage everything is 0.00. But the virtual site's disk
usage is ok.

Csaba

--- Byran <raqbox@xxxxxxx> wrote:
> 
> >
> > the /var/log/adm-error.log files says this:
> >
> > Illegal division by zero at
> >
> /usr/admserv/cgi-bin/.cobalt/diskUsage/diskUsage.cgi
> line 204.
> > [Sun Apr 21 21:28:22 2002] [error] [client
> 202.7.89.171] Premature end
> > of script headers:
> /usr/admserv/cgi-bin/.cobalt/diskUsage/diskUsage.cgi
> >
> > Does anyone have any ideas?
> >
> 
> Peter
> There's a fix for this - in the archieves or if I
> can dig it up, I'll send
> it.
> Not much to worry about though -- cobalt bug [asaik]
> 
> b
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users


__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/