PDA

View Full Version : I have two user that always appear online.



dobbs
Mon 12th Jan '09, 2:16pm
I had this problem before. I have recently changed hosting and the board is now on a cluster. I found a similar thread and made this change.


For anyone who is on a shared cluster environment (not shared hosting), here is where you modify your files:

includes\class_core.php]
Line 2120 : return $_SERVER['REMOTE_ADDR'];
Line 2130 : $alt_ip = $_SERVER['REMOTE_ADDR'];

I changed it to

includes\class_core.php]
Line 2120 : return $_SERVER['HTTP_X_CLUSTER_CLIENT_IP'];
Line 2130 : $alt_ip = $_SERVER['HTTP_X_CLUSTER_CLIENT_IP'];



It works for me and all of the other users except two guys.

Any idea why these two are stuck?

Jake Bunce
Mon 12th Jan '09, 3:56pm
Some proxy server setups will cause problems with vBulletin's IP detection. That class_core.php change should fix it. Maybe those two users are search spiders that are indexing your forum. Spiders are tireless.

dobbs
Mon 12th Jan '09, 4:43pm
Nope, two friends of mine.

Jake Bunce
Mon 12th Jan '09, 4:56pm
You can try emptying the session table by running this query on your database:

DELETE FROM session

dobbs
Mon 12th Jan '09, 9:25pm
perfect, that cleared everyone out

Thanks