Welcome to Geeklog Saturday, October 19 2019 @ 09:02 pm EDT

Geeklog Forums

Problem Solved


Status: offline

Chase

Forum User
Regular Poster
Registered: 14/03/08
Posts: 110
Location:Karachi, Pakistan
Thanks to Mike Jervis, i was able to look up some more links.
after looking at

http://www.gllabs.org/forum/viewtopic.php?showtopic=8435&amp;mode=&amp;show=15<br />

I looked up in my GL 1.4.1 in lib-common.php around Who's Online block. I noticed the following line.

PHP Formatted Code
// Clear out any expired sessions
DB_query( "DELETE FROM {$_TABLES['sessions']} WHERE uid = 1 AND start_time < " . ( time() - $_CONF['whosonline_threshold'] ));


In GL 1.5.0 the the SQL cause was missing uid.

PHP Formatted Code
// Clear out any expired sessions
DB_query( "DELETE FROM {$_TABLES['sessions']} WHERE start_time < " . ( time() - $_CONF['whosonline_threshold'] ));


So if you are having the same problem my solution is to just copy the like from 1.4.1 i posted here and replace the line in 1.5.0 in libcommon.php

-- http://TazaKino.com - Pakistani News Where YOU report the news

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
Just curios, what do you have your Session Threshold set to in the Geeklog configuration (under Blocks -> Who's Online Block)?

Thanks!
Mark

Status: offline

Chase

Forum User
Regular Poster
Registered: 14/03/08
Posts: 110
Location:Karachi, Pakistan
300 seconds
-- http://TazaKino.com - Pakistani News Where YOU report the news

All times are EDT. The time is now 09:02 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content