Illegal modulus zero error
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Guy <guy.knig... @gmail.com>
Date: Sun, 9 Nov 2008 21:09:52 -0800 (PST)
Local: Mon 10 Nov 2008 05:09
Subject: Illegal modulus zero error
Hi,
I get this error when I try to view the monthly downloads graph:
Illegal modulus zero at /usr/local/irstats/var/www/irstats/lib/IRStats/
Visualisation/Graph/Bar.pm line 49.\n, referer: http://dev-www.eprints.qut.edu.au/irstats.cgi
The line in question is:
push @labels, "{v:".$i.", label:".quote_javascript($x_labels[$i])."}"
if ($i % $tick_every) == 0;
Thanks,
Guy
Guy Knights
Computer Systems Officer
Library Systems, QUT
Phone: (07) 3138 3910
Email: g.knig... @qut.edu.au
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Guy <guy.knig... @gmail.com>
Date: Sun, 16 Nov 2008 15:57:42 -0800 (PST)
Local: Sun 16 Nov 2008 23:57
Subject: Re: Illegal modulus zero error
Ok, I solved that problem. Looks like it happens when there aren't any
stats (or not enough imported) in the database. It probably shouldn't
be crashing if that's the case, though.
On Nov 10, 3:09 pm, Guy <guy.knig... @gmail.com> wrote:
> Hi,
> I get this error when I try to view the monthly downloads graph:
> Illegal modulus zero at /usr/local/irstats/var/www/irstats/lib/IRStats/
> Visualisation/Graph/Bar.pm line 49.\n, referer:http://dev-www.eprints.qut.edu.au/irstats.cgi
> The line in question is:
> push @labels, "{v:".$i.", label:".quote_javascript($x_labels[$i])."}"
> if ($i % $tick_every) == 0;
> Thanks,
> Guy
> Guy Knights
> Computer Systems Officer
> Library Systems, QUT
> Phone: (07) 3138 3910
> Email: g.knig... @qut.edu.au
You must
Sign in before you can post messages.
You do not have the permission required to post.