Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Catagory post count and forum counts don't match!

Quote Reply
Catagory post count and forum counts don't match!
OK so how do I fix the index(s)? The Catagory post count total, and post date displayed on the catagory view page, and what shows up in the Forum do not match!

The catgory view shows more posts and a later date than the forum view page. Both are counter displays are incrementing but posts don't show up in the forum matching the latest poster, post date, etc.

HELP!!
Quote Reply
Re: [ptegler] Catagory post count and forum counts don't match! In reply to
Some previous versions of Gossamer Forum had some count problems that should be completely fixed in 1.1.7 - the forum counts and latest poster are now recalculated after each post is made.

You should also be able to fix it by running this code:

Code:


$DB->table('Forum')->rebuild($DB->table('Forum')->select('forum_id')->fetchall_list);
The easiest would be to put it in a global, and put it on a page (I'd recommend "about.html", since it's never linked - get to it by .../gforum.cgi?about). It might take a few seconds for the rebuild to happen, then check your main category list. Everything should be fixed up. If so, remove the global. If not... well, let's worry about that if it happens ;)

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Catagory post count and forum counts don't match! In reply to
Smile Looks like that might have done the trick.

The NEW is now working again as well!

Wink Excellent work guys!