Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 11:31 am EST
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&mode=&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.
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.
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
after looking at
http://www.gllabs.org/forum/viewtopic.php?showtopic=8435&mode=&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 sessionsDB_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 sessionsDB_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
17
14
Quote
All times are EST. The time is now 11:31 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