Forum statistics is wrong for some forums.

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
vmNav2
Registered User
Posts: 17
Joined: Thu Oct 19, 2017 2:44 pm

Forum statistics is wrong for some forums.

Post by vmNav2 »

1.JPG
On ACP I found "reset statistics" buttons but it didn't help. Could you advice how to rebuild the statistics?

Thank you
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Forum statistics is wrong for some forums.

Post by stevemaury »

Please fill out the Support Request Template and post it back here to enable us to assist you better.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
vmNav2
Registered User
Posts: 17
Joined: Thu Oct 19, 2017 2:44 pm

Re: Forum statistics is wrong for some forums.

Post by vmNav2 »

Support Request Template
What version of phpBB are you using? phpBB 3.2.1
Who do you host your board with? Amazon
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What styles do you currently have installed? prosilver
What language(s) is your board currently using? eng
Which database type/version are you using? PostgreSQL
What is your level of experience? New to PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? No answer given
Please describe your problem. Statistics for forums is wrong - number of topics and posts are wrong on the board index.
Generated by SRT Generator
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Forum statistics is wrong for some forums.

Post by david63 »

And a link to your board would be helpful
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
vmNav2
Registered User
Posts: 17
Joined: Thu Oct 19, 2017 2:44 pm

Re: Forum statistics is wrong for some forums.

Post by vmNav2 »

This is our production forum:

version is:
1.JPG
the current version works fine.

then I started to move the forum into different server and I have to update the phpbb version to latest. And this is the link:
http://ec2-34-241-99-215.eu-west-1.comp ... onaws.com/

new version:
2.JPG
so not only phpbb changed but DB engine also. So I moved data into the new Postgres DB and all looks good except the forum statistics. Please advise.
Last edited by vmNav2 on Tue Dec 12, 2017 2:14 pm, edited 1 time in total.
vmNav2
Registered User
Posts: 17
Joined: Thu Oct 19, 2017 2:44 pm

Re: Forum statistics is wrong for some forums.

Post by vmNav2 »

From which table/column in DB the data is? Probably I imported data from previous without it and can fix. If I know where
vmNav2
Registered User
Posts: 17
Joined: Thu Oct 19, 2017 2:44 pm

Re: Forum statistics is wrong for some forums.

Post by vmNav2 »

Solved!

the link helped me:
viewtopic.php?f=466&t=2298971

main part:
That is exactly what I needed, simply replacing $topic_replies with $topic_posts_approved did the job.
Post Reply

Return to “[3.2.x] Support Forum”