Bug Reports · Legacy archive
Scrasamax has over 9000 votes on his submission.
-
Scrasamax has over 9000 votes on his submission.
#1I voted for Scras' sub, then changed my mind, deleted vote. The score messed up, so I deleted it again, and re-voted. Now the sub has a rating of 0 and many many many votes. -
Re: Scrasamax has over 9000 votes on his submission.
#2Derp -
Re: Scrasamax has over 9000 votes on his submission.
#3DOH!? -
Re: Scrasamax has over 9000 votes on his submission.
#4Taking a look at the number provided (16777215) that looks suspiciously like a MySQL integer truncation error. I've encountered some of those recently, and they're a mild pain. Take a look at how it's being inserted; if you're wanting it as a string (not as a number) make sure to typecast it as such in PHP, otherwise MySQL does sneaky internal conversions and royally fscks it up. -
Re: Scrasamax has over 9000 votes on his submission.
#5Yeah, I think so. I believe it is unsigned and the removal of the vote and the error maybe put it into the negative and it splurghed.
Either way I will take a look at the sub and fix it up tomorrow night. Wish I could get to it today but it is bad timing.