View Full Version : 3 Small Questions
ZiRu$
08-20-2002, 02:55 PM
1. Every ONCE IN A WHILE....when i go to the whos online page i get this error
Fatal error: Call to a member function on a non-object in /home/blazing/public_html/online.php on line 123
ONLY SOME TIMES
2. PROBLEM SOLVED Thx to NTLDR
3. PROBLEM SOLVED Thx to NTLDR
NTLDR
08-20-2002, 03:33 PM
Originally posted by ZiRu$
2. How can I Change the max characters in searching from 4 to 2?
Admin CP -> vBulletin Options -> Search Options ;)
ZiRu$
08-20-2002, 03:49 PM
thank you very much.......I EDITED OUT THE ONE THATS SOLVED.....any more help?
g-force2k2
08-20-2002, 04:26 PM
can you show me whats on line 123 of online.php thanks in advance ;)
And about your last problem... couldn't that have something to do with the store hack? just wondering...
g-force2k2
ZiRu$
08-20-2002, 05:19 PM
Originally posted by g-force2k2
And about your last problem... couldn't that have something to do with the store hack? just wondering...
i dont have the store hack installed....
Originally posted by g-force2k2
can you show me whats on line 123 of online.php thanks in advance ;)
I'll show you as soon as i get home!
P.S. About the avatars...it's just linked wrong cause on the welcome panel you can click on your avatar and edit it properly!!!!
ZiRu$
08-21-2002, 12:26 PM
ok here's line 123
$user = $DB_site->query_first("SELECT username FROM user WHERE userid = ".intval($userid[1]));
This is my last question all others are solved
g-force2k2
08-21-2002, 03:00 PM
try replacing this:
$user = $DB_site->query_first("SELECT username FROM user WHERE userid = ".intval($userid[1]));
with:
$user = $DB_site->query_first("SELECT username FROM user WHERE userid = '".intval($userid[1])."'");
see if that fixes your problem?
g-force2k2
ZiRu$
08-21-2002, 03:42 PM
thanks man....i will try it as soon as i get home
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.