[CGI] Division by zero at myvotes [FIXED]

already fixed bugs

Moderator: AniDB

Locked
Cavelier
Posts: 2
Joined: Wed Nov 27, 2002 12:41 pm

[CGI] Division by zero at myvotes [FIXED]

Post by Cavelier »

Hi, First of all, great site!! When I've got a little time, i'll switch over :-D

Quickly onto the small bug:

http://www.anidb.net/cgi-bin/animedb.pl?show=votes

gave me this:

Code: Select all

Anime Votes:
Anime Vote Date Action
Love Hina 8 27.11.02 13:37 revoke

1 votes, avg. vote 8

Group Votes: Content-type: text/html
ERROR:

Illegal division by zero at /web/htdocs/www.anidb.net/home/cgi-bin/subs/adbs_votes.pm line 122.
Group Vote Date Action 
Just a small missing test i guess :wink:
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

thx

should be fixed now.
someone without anime or group votes plz confirm this!

BYe!
EXP
wahaha
AniDB Staff
Posts: 1497
Joined: Sun Nov 17, 2002 3:33 pm

Post by wahaha »

Neither group votes nor error messages for me ;)
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

wahaha wrote:Neither group votes nor error messages for me ;)
somehow i am not sure what to make of that, is that a good or a bad thing?
i.e. should there be group votes?

BYe!
EXP
Cavelier
Posts: 2
Joined: Wed Nov 27, 2002 12:41 pm

Post by Cavelier »

The error is gone, tnx!
exp wrote:i.e. should there be group votes?

BYe!
EXP
I think i coud be handy (when more votes are done). A lot of Anime brought out by several groups at once, it could help by deciding which one to download?

PS. Not sure if I should mention this here, but quotes are white on white (I need to select them to read the text). [Mozilla 1.2b, WinXP]
wahaha
AniDB Staff
Posts: 1497
Joined: Sun Nov 17, 2002 3:33 pm

Post by wahaha »

Fushigi na Wahaha wanted to say that there's no "division by zero" anymore although he has no group votes ;)
Locked