vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Who's Online ERROR (https://vborg.vbsupport.ru/showthread.php?t=43326)

ZiRu$ 09-08-2002 05:19 PM

Who's Online ERROR
 
here's my line 123

Code:

      $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

PHP Code:

$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:

PHP Code:

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

Quote:

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:


All times are GMT. The time now is 09:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01315 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete