Hello Friends,
I can;t see any one online in my site uder following section
"Users Online" Section. It always show my name... even if all my friends using the same forum at same time. can any one tell me wat could be the probleml.
http://www.maksazone.com/index.php?action=who (http://www.maksazone.com/index.php?action=who) Different page for checking Whois online.
http://www.maksazone.com (http://www.maksazone.com)
Always showing only my name like below...
0 Guests, 1 User
Users active in past 15 minutes:
Maksa
Never show any other memebers or guest. please some one help me out.... :'( :'( :'(
it says that i'm a guest
if i visit login it will count me as guest. but it will not show anyother meber or guest who is online.
if i login wid some id it will show that id is online but it will not show other members who r online :(
for testing i have created 2 users please login with both id with different browser n check.
still same porblem. can't see both name in "user online". it will not show any other member who is online.
Username: test1
password: test1
Username: test2
password: test2
Please help me out it's really serious problem. is anyone there? :'( :'( :'(
It's working now....
Thanks to one of my friend who helped me out....
this is wat i did..... so just check it out if u have same problem...
Edit >>> Sources/Subs.php
search for the following code
Lainaadb_query("
INSERT IGNORE INTO {$db_prefix}log_online
(session, ID_MEMBER, ip, url, logTime)
VALUES ('$session_id', $ID_MEMBER, IFNULL(INET_ATON('$user_info[ip]'), 0), '$serialized', NOW())", __FILE__, __LINE__);
Replace with
Lainaadb_query("
INSERT IGNORE INTO {$db_prefix}log_online
(session, ID_MEMBER, ip, url)
VALUES ('$session_id', $ID_MEMBER, IFNULL(INET_ATON('$user_info[ip]'), 0), '$serialized')", __FILE__, __LINE__);
Thanks Bye :)