No update of displaying the number of users online [SMF 2.0.17]

Started by fotosukces, January 16, 2020, 06:31:57 AM

Previous topic - Next topic

fotosukces

Hi.
I'm having trouble updating the display of online users.
The numerical value at the bottom of the page indicating the current number of online users is not updated.
Maximum value 3 is constantly displayed, although there were many more users logged in at the same time.



Please tell where and what should I change so that the displayed value reflects reality.

Dzonny

Hello there and welcome to SMF community!

The first thing that comes to my mind is to do a recount of forum stats in Maintenance sections.

Do you have something in your error log?

Illori

seems strange that there is an "r" after 2018. I wonder if the date setting including the year is incorrect somewhere.

fotosukces

There is nothing special about the error log
Recalculating the forum statistics in the Maintenance section did nothing

I have improved the date display, now the letter r is gone.

Dzonny

Can you list the mods installed on forum? Also a link might be useful.

fotosukces

Smf version: 2.0.17

What is your url:
robotynawysokosci  pl

Mods installed:
1.     Unanswered Topics     2.5     
2.     nCode Image Resizer     2.0     
3.     Google Analytics Code     1.5.1     
4.     SMF 2.0.17 Update     1.0     
5.     Resize Attached Images     2.4.1     
6.     Yet Another YouTube BBCode Tag     4.11     
7.     SMF 2.0.16 Update     1.0     
8.     phpBB-style Font Size BBCode     2.3

m4z

Do you have the stats feature disabled? If you had it enabled before, then switched it off, the values aren't cleared and will be displayed until you manually edit the DB. (I'm talking about 2.1 but assume behavior is the same in 2.0.)
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Sir Osis of Liver

Quote from: Illori on January 16, 2020, 08:06:33 AM
seems strange that there is an "r" after 2018. I wonder if the date setting including the year is incorrect somewhere.

Interesting idea, it may be keeping the same setting for 2018r because it never changes, it's not tracking 2020.  Year may not be incrementing due to that glitch.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

fotosukces

Quote from: m4z on January 16, 2020, 01:35:14 PM
Do you have the stats feature disabled? If you had it enabled before, then switched it off, the values aren't cleared and will be displayed until you manually edit the DB. (I'm talking about 2.1 but assume behavior is the same in 2.0.)

Yes, that was the reason.
I've turned this feature on and it's all right now.
Thank you so much for your help.

Problem solved.

Advertisement: