I think the problem is in index.php, lines 117 & 118:
[code]$loggedins=$DB_site->query_first("SELECT COUNT(sessionid) AS sessions FROM session WHERE userid=0");
$numberguest=$loggedins[sessions];[/code]
I was watching the session table for 0's, and there is always one... What I think is happening is that there can only be one row with the 0 userid, and all the guests browsing the board are getting lumped into that row. Everytime I look at phpMyAdmin, the IP of the 0 userid is different, so I'm thinking it's only counting the last active guest. I have no idea how to fix it though. :)
[code]$loggedins=$DB_site->query_first("SELECT COUNT(sessionid) AS sessions FROM session WHERE userid=0");
$numberguest=$loggedins[sessions];[/code]
I was watching the session table for 0's, and there is always one... What I think is happening is that there can only be one row with the 0 userid, and all the guests browsing the board are getting lumped into that row. Everytime I look at phpMyAdmin, the IP of the 0 userid is different, so I'm thinking it's only counting the last active guest. I have no idea how to fix it though. :)