Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 07:06 am EDT

Geeklog Forums

Problem Solved


Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/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.

Text 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.

Text 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
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/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
 Quote

Status: offline

Chase

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

All times are EDT. The time is now 07:06 am.

  • 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