PDA

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


keithsan
06-11-2006, 02:03 PM
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
07-04-2006, 05:11 AM
Fix link
https://vborg.vbsupport.ru/showthread.php?p=985071#post985071

Err your getting
https://vborg.vbsupport.ru/showpost.php?p=1021234&postcount=1255

Err fix also found in this forum.
https://vborg.vbsupport.ru/showthread.php?t=71049&page=84