Bug in Trader Rating calculations
#1
Evolved Member
Thread Starter
iTrader: (2)
Join Date: Feb 2003
Location: Merrimack, NH
Posts: 986
Likes: 0
Received 0 Likes
on
0 Posts
Bug in Trader Rating calculations
I got this error:
when viewing this page .
At the time I viewed it, there was one negative and no other ratings, if that helps.
-N
Warning: Division by zero in /home/emedia/public_html/forums/traderratings.php on line 114
At the time I viewed it, there was one negative and no other ratings, if that helps.
-N
#2
Evolved Member
Join Date: Aug 2002
Location: New Jersey, USA
Posts: 2,088
Likes: 0
Received 0 Likes
on
0 Posts
Works fine as far as the page goes, just shows the warning line on the top. Just as long as the page works, we're alright.
Last edited by LancerEvoMR; Jun 10, 2004 at 05:47 PM.
#3
Evolved Member
Thread Starter
iTrader: (2)
Join Date: Feb 2003
Location: Merrimack, NH
Posts: 986
Likes: 0
Received 0 Likes
on
0 Posts
Well, yes, it works... but regardless of that... if I code a page and leave warnings, it's unprofessional and I'd like it if users reported it to me so I can at least hide a useless warning message.
-N
-N
#5
Evolved Member
iTrader: (2)
Join Date: Oct 2002
Location: Between the Blue and the Sand
Posts: 2,367
Likes: 0
Received 0 Likes
on
0 Posts
I think what LancerEvoMR is getting at is that we are thankful that you reported the bug. But for now, the page still works even though there is a small problem. So while Mark will be informed of the problem, since it is not a 'show stopping' error, he won't likely take care of it until sometime early next week.
SC~
SC~
#7
I fixed it now. There was a bug in the first version which was later updated, so I upgraded to the latest one. I believe there are a few additional features now, like editing comments within the first 5 minutes, etc
Mark
Mark
Thread
Thread Starter
Forum
Replies
Last Post