![]() |
online.php error.... PLEASE HELP ME lol $5 for peron who fixes it
Fatal error: Call to a member function on a non-object in /home/texeoco/public_html/web/online.php on line 129
I have no clue whats wrong... First one to get it fixed for me will get $5... Just reply saying you'll do it and I'll send you the online.php file. |
Forget the 5 dollars. What is on line 129?
|
You are not allowed to send vB files to anybody. However the problem is, I guarantee you, that you wrote a function that uses $DB_site and haven't made it global.
|
Quote:
Well you can forget it, the rest of us will remain interested :p |
PHP Code:
PHP Code:
|
I guess I must be one of the few who aren't in it for the money then, huh?
|
Quote:
|
do you mean like right here? im not sure how to do it, im an html person myself, not very good at php at all... I can add hacks thats it lol
// initialize everything $postids = ''; $threadids = ''; $forumids = ''; $eventids = ''; $onlinebits = ''; $mod = array(); $userinfo = array(); $guests = array(); $post = array(); $thread = array(); $forum = array(); $gotforum = array(); $event = array(); |
or is it this?
<?php error_reporting(7); $templatesused = 'whosonline,whosonlinebit,postbit_useremail,postbi t_sendpm,postbit_profile,whoso nline_ip,whosonline_pm,whosonline_email'; $templatesused .= ',whosonlinebit_ip,whosonlinebit_pm,whosonlinebit_ email,whosonline_legend'; require('./global.php'); |
Add it in this line:
PHP Code:
|
THX SO MUCH! :) worked :)
|
Of course it did. ;) Just make sure that in the future, if you write something like this again, to enter the $DB_site in the global statement above it. ;)
|
All times are GMT. The time now is 02:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|