Message from discussion
Illegal modulus zero error
MIME-Version: 1.0
Received: by 10.150.11.6 with SMTP id 6mr449929ybk.1.1226293792598; Sun, 09
Nov 2008 21:09:52 -0800 (PST)
Date: Sun, 9 Nov 2008 21:09:52 -0800 (PST)
X-IP: 131.181.155.53
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
Message-ID: <314a07e1-e993-4c68-8c0a-85046534f952@c36g2000prc.googlegroups.com>
Subject: Illegal modulus zero error
From: Guy <guy.knig...@gmail.com>
To: IRStats Discuss <irstats-discuss@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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