Post count error "16777215"

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
skylergray
Registered User
Posts: 6
Joined: Sun May 13, 2007 5:43 am

Post count error "16777215"

Post by skylergray »

Hello. I have done a search of your boards and while a couple of things come close to answering my question, none of them are exactly what I need.

I have been made a forum admin for an official Game forum. I do not have founder status, and I do not have direct access to teh database, or the server.

The problem is that some random members have had their post count jump to 16777215. There seems to be no resynchronizing option that I can find, nor a way to directly change the post count in pgpBB 3.0 B5. Is there any way I can do either of theeses things with the access that I have?

Its not a huge bothering bug, but the company seems to not care, and it just slightly bothers me, as it seems unprofessional.

Thanks for your help guys.
User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Post count error "16777215"

Post by pentapenguin »

Hi and welcome.

Did you try the "Resynchronise post counts" option in the main page of the ACP?
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.
skylergray
Registered User
Posts: 6
Joined: Sun May 13, 2007 5:43 am

Re: Post count error "16777215"

Post by skylergray »

Ah, its on the MAIN page. I thought it was user specific, and I could not find the option to do so. I did it, and it worked for all but two. strange.

EDIT: just noticed that those two have not actually posted yet. Strange.
User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Post count error "16777215"

Post by pentapenguin »

You might want to try using the latest CVS version (UNsupported by the way) and see if that's been fixed. If not file a bug report with as much detail as you can.
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.
skylergray
Registered User
Posts: 6
Joined: Sun May 13, 2007 5:43 am

Re: Post count error "16777215"

Post by skylergray »

Well they had 0 posts and had not logged in in two months, so I jsut deleted them lol. problem solved. Thanks for your help.
Ida
Registered User
Posts: 119
Joined: Tue Dec 27, 2005 11:16 pm
Location: France
Contact:

Re: Post count error "16777215"

Post by Ida »

skylergray wrote: The problem is that some random members have had their post count jump to 16777215.


I'd venture the guess that the post count is stored in a 3-bytes unsigned variable (strange but why not...), that they had 0 posts, and that the forum remorselessly tried to decrement the post count. ( -1 == 16777215 [3 bytes]) (I don't know PHP, but I assume it deals with out-of-range assignments the same way C++ does)

Maybe they had only posted in a forum where the posts are not counted, then you moved their posts, and deleted one of them. Or something of the kind...

It would be interesting to try and reproduce that bug, although it has probably be found and fixed in CVS. I hope. If it has not, it definitely qualifies for a bug report.
{<§ Gamall Wednesday Ida §>}
-> phpBB 2 <-> 3 smilies packs convertor (to convert your old packs) ; GaTeX: An ASCII Document Formatting System (to create clean readmes easily, for instance) ; Hiding Glyph: Bytewise Image Steganography (Hide any files into a bitmap image)
skylergray
Registered User
Posts: 6
Joined: Sun May 13, 2007 5:43 am

Re: Post count error "16777215"

Post by skylergray »

The thing is, there were people as you described, but then there were also those with hundreds of post that were affected as well. Now the resynching of post counts worked with those that had posts, but those that had 0 posts, it did not work, and they had to bed deleted.. I think I will go see if I can reporduce the error.
CosmicD
Registered User
Posts: 67
Joined: Sat Jan 18, 2003 11:31 pm

Re: Post count error "16777215"

Post by CosmicD »

I've got this error as well with several users (lucky i'ts less than 10).

I tried to 'resyncronize posts count ' but that doesn't seem to help.
another idea ?
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34458
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Re: Post count error "16777215"

Post by A_Jelly_Doughnut »

The only reason I've seen for this error is when a user is in the moderation queue. You could try disabling that to prevent the issue from happening to additional users.

This bug should be fixed in RC4.

And yes, Ida's explanation is correct.
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
Locked

Return to “[3.0.x] Support Forum”