PDA

View Full Version : Ported Version for 3.5 help please...


keithsan
11 Jun 2006, 15:03
Lost my BB,

Install seemed to go fine. My problem was in editing the index.php....

shut my bb down,

when i looked for this:
while ($loggedin = $db->fetch_array($forumusers))
{
$userid = $loggedin['userid'];
if (!$userid)
{ // Guest
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}

if(preg_match("/chat.php/",$loggedin['location']) && $loggedin['userid']){
$vbchat_users[$loggedin['userid']] = $loggedin;


the bold part was missing...

I edited by adding this part in, I also edited without it, neither worked, and when i went back to what I thought was original form, my bb was shut down.

kept getting extra$ error but there would be no error there.

anythoughts would be appreciated. No fun having the bb shut down, hopefully everything is saved yesterday.

thanks for any ideas.

I re uploaded my index file, now all is well.

just no chat.

If anyone with a coding brain has encountered my issue and fixed it , please let me know.

satfox360
04 Jul 2006, 06:11
Fix link
http://www.vbulletin.org/forum/showthread.php?p=985071#post985071

Err your getting
http://www.vbulletin.org/forum/showpost.php?p=1021234&postcount=1255

Err fix also found in this forum.
http://www.vbulletin.org/forum/showthread.php?t=71049&page=84