Subject: Problem Solved

Posted on: 05/07/08 10:06am
By: Chase

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

Re: Problem Solved

Posted on: 05/07/08 11:31am
By: mevans

Just curios, what do you have your Session Threshold set to in the Geeklog configuration (under Blocks -> Who's Online Block)?

Thanks!
Mark

Re: Problem Solved

Posted on: 05/07/08 02:23pm
By: Chase

300 seconds

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=83631