Page 1 of 1

weird count of comments bug?

Posted: Mon Aug 28, 2006 11:59 am
by iuliandr
Hello,

From time to time I get weird count of comments at articles. For example I post an article, people start posting comments to it. They post one, two three, four etc. The count of the comments is right up to a point. After a while even though I have lets say 30 comments to that article, it shows me 454534523 comments or a random number from 42434323 to 453442443 (numbers are approximate, but you get the idea). So i cant have 40 milions comments for that article, something screws up. And I need to manually edit the db entry (using phpmyadmin) back to the normal count (by counting the number of comments by hand).

Any idea whats going wrong? Thank you very much

Re: weird count of comments bug?

Posted: Mon Aug 28, 2006 12:54 pm
by garvinhicking
Hi!

This was a known bug of serendipity 0.8 or 0.9 versions. Which version are you using?

Regards,
Garvin

Re: weird count of comments bug?

Posted: Thu Aug 31, 2006 9:53 pm
by iuliandr
garvinhicking wrote:Hi!

This was a known bug of serendipity 0.8 or 0.9 versions. Which version are you using?

Regards,
Garvin
Hi, I'm using version 1.0 afaik. :(

Re: weird count of comments bug?

Posted: Fri Sep 01, 2006 10:03 am
by garvinhicking
Hi!

What's your URL?

Regards,
Garvin

Re: weird count of comments bug?

Posted: Fri Sep 01, 2006 11:42 am
by iuliandr
garvinhicking wrote:Hi!

What's your URL?

Regards,
Garvin
this is the URL http://www.smk.ro but I have already edited the mysql DB to fix the comments bug, though its annoying to edit DB every time it appears. Thanks for your help

Re: weird count of comments bug?

Posted: Fri Sep 01, 2006 12:31 pm
by garvinhicking
Hi!

Hm, okay, you seem to be using the right version. Do you happen to know a way to reproduce your bug? Is it maybe related to if you moderate or delete comments or trackbacks?

Best regards,
Garvin

Posted: Wed Sep 06, 2006 12:18 pm
by iuliandr
hi, it's me again... same bugs.. same old story. it appears random. might appear only posting new article, or when deleting comments.

i have attached an image

Image

Posted: Wed Sep 06, 2006 1:26 pm
by garvinhicking
Hi!

There must be a way to reproduce this. Could you try to reproduce it? Like by "First you need to publish an entry, then make a comment, then moderate that comment, then delete the moderated comment and then the comment count gets below '0'". WIthout that it's hard for me to tell, because I can't find an obvious bug. :(

Do you use comment moderation? Do you remember if you used the comment moderation admin panel to delete/moderate comments for the entry where the count is off?

Best regards,
Garvin

Posted: Wed Sep 06, 2006 7:43 pm
by iuliandr
Well, I will try to reproduce this, but I'm not the owner of the server. As I have been told, thats what he did: posted a new article late night. Comments are moderated. Next morning he went into admin section to see what comments have been posted during night. I assume he deleted a few, because people say bad things. There wasnt any comment left to approve though. I would say 70% for sure, the wrong comment count would appear when he uses the admin panel to approve the comments.Every article has moderated comments.

Posted: Thu Sep 07, 2006 9:35 am
by garvinhicking
Hi!

Hm, if you would be able to ask him what exactly he did, this would help me really a lot. :)

Best regards,
Garvin