Loading...
 
Skip to main content

tiki_sessions lacks most visitors (affects who_is_there, last_visitors, online_users, logged_users)

Status
Closed
Subject
tiki_sessions lacks most visitors (affects who_is_there, last_visitors, online_users, logged_users)
Version
3.x
Category
  • Regression
Feature
Modules
Resolution status
Fixed or Solved
Submitted by
Ushindi Gedeon
Volunteered to solve
nyloth
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

tiki_sessions doesn't keep track of most users/visitors since Tiki 3 (was working in Tiki 2). This impacts only modules, AFAIK: who_is_there, last_visitors, online_users and logged_users.
The modules show only the logged in users who are also looking at other users. So you'll see other users of mod-online_users, but not users which use none of these modules. This is actually a tiki-setup bug introduced in r15587. As the log message reads,
"update 'tiki_sessions' table only when one of the related functions is called, not anymore all the time"
This does improve performance, the "only" problem is that tiki_sessions then doesn't track new logins, except via a few tikilib functions which call update_session().

Solution
Workaround
Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2623
Created
Tuesday 14 July, 2009 08:27:19 UTC
by Unknown
LastModif
Tuesday 26 May, 2026 17:03:40 UTC


Show PHP error messages