View Full Version : Who's Online ERROR
ZiRu$
09-08-2002, 05:19 PM
here's my line 123
$user = $DB_site->query_first("SELECT username FROM user WHERE userid = ".intval($userid[1]));
and here's the message i get when i click on WHOS ONLINE
Fatal error: Call to a member function on a non-object in /home/blazing/public_html/online.php on line 123
ZiRu$
09-08-2002, 05:23 PM
also g-force told me to change it to
$user = $DB_site->query_first("SELECT username FROM user WHERE userid = '".intval($userid[1])."'");
but that never worked either :(
Reverend
09-08-2002, 05:54 PM
I don't have that line anywhere in my online.php
My line 123 is;
$userinfo[where] = "Changing Avatar";
NTLDR
09-08-2002, 06:10 PM
Try adding:
global $DB_site;
Before that line, I think that should do the trick ;)
g-force2k2
09-08-2002, 06:27 PM
yep NTLDR is right :p that'll fix the problem ;) regards...
g-force2k2
ZiRu$
09-09-2002, 01:07 AM
Originally posted by g-force2k2
yep NTLDR is right :p that'll fix the problem ;) regards...
g-force2k2
LOL thanks for TRYING dawg :)
Thanks man for helping me fix it :bandit:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.