Log in

View Full Version : Strange Who's Oline Errors


Boofo
06-28-2008, 08:20 AM
I just started getting these errors out of the blue. They were not happening before today and I have changed nothing.

Parse error: syntax error, unexpected T_STRING in /xxxx/xxxx/public_html/forums/includes/functions_online.php(1167) : eval()'d code on line 41

Parse error: syntax error, unexpected T_STRING in /xxxx/xxxx/public_html/forums/includes/functions_online.php(1167) : eval()'d code on line 41

Line 41 is the global variable line.

This is what is showing up in thew who's online when I get these errors:

Unknown Location
/forums/index.php?referrerid=1

Unknown Location
/forums/arcade.php?&act=Arcade&do=play&gameid=912

Does anyone have any clue as to why this is happening all of a sudden?

Dismounted
06-28-2008, 08:57 AM
Which version of vBulletin is this occurring on?

Boofo
06-28-2008, 09:17 AM
3.7.1 Patch Level 2

Opserty
06-28-2008, 09:17 AM
Line 1167: ($hook = vBulletinHook::fetch_hook('online_location_unknown ')) ? eval($hook) : false;You must know the drill by now... :p

Boofo
06-28-2008, 10:11 AM
LOL You would think so, huh?

Found what it was. Another Boof-inator blunder, as hard as you might find that to believe. (You ARE allowed to act surprised and blame it on vBulletin. In fact, it is encouraged at this point.)

It seems that hook doesn't like this very well:

$userinfo['action'] = '<i>Donating to Fathers' Rights Forums</i>';

Back slashes are our friends. ;)

What threw me off is that hack that is for wasn't even showing as having anyone on that page and it was sporadically giving the error. I don't understand why it wasn't either an all-time thing or just when they hack was in play. But it showed up when it felt like it. What would cause it to be sporadic? It might be good to know for future reference.