Quote:
Originally Posted by Manipulation
Does anyone know why I get this on my forum home page and how I can fix it? Happens when I install the mod.
"syntax error, unexpected 'new' (T_NEW) on line 74 in /home/thepoke7/public_html/global.php(29) : eval()'d code
#0 /home/thepoke7/public_html/forum.php(67): require_once()
#1 {main}
Fatal User Error: syntax error, unexpected 'new' (T_NEW) on line 74 in ..../global.php(29) : eval()'d code in ..../vb/vb.php on line 286
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line
Var Type:
[ NULL ]
Var Data:
null"
|
I do not use this, but
Open xml file
product-psi_qas with editor and in about line 161,
find
Code:
$vbulletin->session =& new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']);
and change with
Code:
$vbulletin->session =new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']);
save and than install.
Actually this is the change we make, as my specialist friend @MarkFL said to other deprecated codes "change "
=&" to this "
="