News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF2 num_replies miscalculation

Started by Xifanie, October 05, 2012, 11:44:47 PM

Previous topic - Next topic

Xifanie

Sorry if I can't provide much info...
Note: Using SMF 2.02 without any mods installed + PHP5 + MySQL5.

Basically after my moderators deleted ~20posts in a topic, the actual number of posts in the topic was (num_replies) 16 instead of 22, (23 total posts).
With "20 messages per page", I could see the 20 first messages, yet the 2nd page was not available as the number of pages is calculated by num_replies.

I've seen this bug happen before on other topics but didn't investigate.

emanuele

Thanks for the report Xifanie (and welcome to sm.org :)).

I have few questions for you, here they are:
How where the posts deleted?
One by one?
Quick moderation checkboxes?
Quick moderation icons?
From one or more user profiles?
From the moderation center?
Do you have post moderation on?
In that case were none, some of or all the messages deleted still unapproved?
The moderators are board moderators, global moderators or did you create a special group with specific permissions? (if the latter what permissions exactly?)

For now that's all that comes to my mind, depending on your answers I may have more questions.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Joshua Dickerson

Big question - do you have any caching enabled?
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Arantor

Closed due to a lack of information.

Advertisement: