MyBB Community Forums

Full Version: Mismatch total page number of the thread - missing a last page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
HI,
I merged /import some posts from 2 databases ; right now the total page number of the thread displayed on the forum page ...forumdisplay.php (fid=12&page=1) is mismatch (offset by 1)
[Image: 6ff13b4e_o.jpeg]

with the total page display on /showthread.php (?tid=5321&page=16) for Mods display only

[Image: c2cc0fdc_o.jpeg]

For regular user, it missing a last page

[Image: b17b2b2e_o.jpeg]

The user can not see their new post until there is enough posts for another new page

Please help , How do I fix this ?

Thank You very much

Hi,
The problem is now solved - when I imported some lost posts, I did not know the replies counter in mybb_threads also need to be increased . So the number of pages was calculated & displayed wrong (I don't know why only mods can see the missing posts though) .
I changed the replies numbers to be matched with number of posts of that thread, and now it displays correctly .