phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

my topic and message counter stopped working?!


 
Search this topic... | Search phpBB2 Discussion... | Search Box
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Author Message
Oliver2000
Board Member



Joined: 29 Jan 2009

Posts: 21


flag
PostPosted: Fri Apr 17, 2009 4:59 pm 
Post subject: my topic and message counter stopped working?!

Hi there,

my board is pretty strong customized etc. and works fine with as well pretty strong movment. So due to the millions of messages i did not see that unfortunatly the counters for messages and topics dont work! icon_eek.gif

I made a new sub forum and found out that the number of messages seem to no update. The last message is updated but the counters not.

I guess i killed something somewhere so this stopped working.

Can anyone give me a tip where i start looking for this? Where are the counters updated? in the posting.php?

I somebody writes a new message the message appear in the viewforum as last message but the count of the number of messages and topics remain the old.

thanks if somebody has a idea what could have happend.

cya
Oliver
Back to top
Ornette
Board Member



Joined: 16 Mar 2009

Posts: 37



PostPosted: Sat May 23, 2009 5:09 pm 
Post subject: Re: my topic and message counter stopped working?!

Look in functions_post.php

http://ftp.phpbb-fr.com/public/cdd/phpbb2/2.0.23/nav.html?includes/functions_post.php.html

update_post_stats() is the function that does all the work, but this does has to be called by posting.php,

Or perhaps it isn't being called icon_smile.gif
Back to top
Jim_UK
Board Member



Joined: 19 Nov 2008

Posts: 549
Location: North West UK


flag
PostPosted: Sat May 23, 2009 5:25 pm 
Post subject: Re: my topic and message counter stopped working?!

You might also check the tables phpbb_posts and phpbb_topics with phpmyadmin and check that in the column marked Extra that the fields post_id and topic_id are shown as auto_increment.

If you have at some time restored the database it would not be the first time that for some reason that instruction to auto increment was missing.

Jim
Back to top
Display posts from previous:   
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0254 seconds using 15 queries. (SQL 0.0020 Parse 0.0008 Other 0.0226)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo