PDA

View Full Version : Problem After Server Work


92GreenGT
05-31-2005, 06:45 PM
I have a problem, when you go to sections off the main page of the forum, this is at the top of all my pages off the main page. How do we fix it? Do we just need lines from these files replaced and we will be good? Thanks (Here is a ScreenShot) :smoke:

https://vborg.vbsupport.ru/

It used to not do this, but we had some server problems and after everything got fixed it started this. Thanks

Corriewf
05-31-2005, 06:55 PM
I have a problem, when you go to sections off the main page of the forum, this is at the top of all my pages off the main page. How do we fix it? Do we just need lines from these files replaced and we will be good? Thanks (Here is a ScreenShot) :smoke:

http://img.photobucket.com/albums/v232/DriftPenguin/FTFprob.jpg

It used to not do this, but we had some server problems and after everything got fixed it started this. Thanks


Can you post the code on line 808? Were any of the files relocated on server?

92GreenGT
05-31-2005, 09:38 PM
Man do I have to count down to 808? Thats going to take awhile!!!

No files where changed around that I know of.

Link14716
05-31-2005, 09:51 PM
Man do I have to count down to 808? Thats going to take awhile!!!

No files where changed around that I know of.
Use a decent text editor like Notepad2 (http://www.flos-freeware.ch/notepad2.html) that shows line numbers.

92GreenGT
06-01-2005, 12:54 AM
Wow, thanks for that. That will help out a lot in VB editing.

Here is line 808 of forumdisplay.php

<?include("online.txt");?>

Marco van Herwaarden
06-01-2005, 07:10 AM
And do you have a file called online.txt in your forumhome directory?

92GreenGT
06-01-2005, 02:06 PM
And do you have a file called online.txt in your forumhome directory?
Good call, I dont have it on there. Where can I download it?

Corriewf
06-01-2005, 02:28 PM
I wasnt aware of a online.txt. Do you mind posting a little bit of code around it so we can get the context of the code?

Marco van Herwaarden
06-01-2005, 02:55 PM
I don't know, it is not a standard vB file. Maybe something to do with an online hack.

Corriewf
06-01-2005, 03:15 PM
Yeah thats what I am thinking..... I am unaware of any hacks that utilize a .txt file though.

92GreenGT
06-01-2005, 05:09 PM
I was told by the people over at www.VBulletin.com that it had something to do with the VBChat hack I installed, thats why I posted it here.

Here is lines 800-820, if you need more let me know.
/////////////////////////////////
if ($newthreads < 1 AND $unreadchildforums < 1)
{
// mark a single forum as read as it appears all threads are read
set_bbarray_cookie('forum_view', $foruminfo['forumid'], TIMENOW);
}
construct_forum_rules($foruminfo, $forumperms);
?>
<?include("online.txt");?>
<?
//remove html to stop the breaking of the meta description
$foruminfo['description'] = strip_tags($foruminfo['description']);

$show['forumdescription'] = iif ($foruminfo['description'] != '', true, false);
$show['forumsearch'] = iif ($forumperms & CANSEARCH AND $vboptions['enablesearches'], true, false);
$show['forumslist'] = iif ($forumshown, true, false);
$show['stickies'] = iif ($threadbits_sticky != '', true, false);

eval('print_output("' . fetch_template('FORUMDISPLAY') . '");');



Thanks for your help

Corriewf
06-01-2005, 05:29 PM
Whats the comment on line 799... I wish I could look at my file right now so I could compare..... I have the chat hack installed as well.

92GreenGT
06-01-2005, 05:57 PM
}

Is on Line 799

Anyone?

Corriewf
06-02-2005, 03:58 AM
Yeah just remove this:?>
<?include("online.txt");?>
<?

You should be fine then.

92GreenGT
06-02-2005, 02:48 PM
Thanks a lot guys, it worked.