PDA


View Full Version : Parse error with vB 3.5


Ogden2k
07-13-2005, 01:22 PM
Beta 4, when you have vBa 3.5 installed and you search for a new thread or logout, this error appears at the top of the screen:

Parse error: parse error, unexpected '=' in /public_html/dev/forums/includes/functions.php(2196) : eval()'d code on line 1

Brian
07-13-2005, 01:58 PM
Go to your Pugin Manager in your Admin CP, edit the 'vBadvanced Error Replacements' plugin, and make sure you have this for the plugin PHP code:
$errormessage = str_replace(
array(
'"login.php',
'"profile.php'
),
array(
'"' . $vbulletin->options['bburl'] . '/login.php',
'"' . $vbulletin->options['bburl'] . '/profile.php'
),
$errormessage
);

$forumjump = str_replace('"forumdisplay.php', '"' . $vbulletin->options['bburl'] . '/forumdisplay.php', $forumjump);

Ogden2k
07-13-2005, 06:14 PM
Thank you, it's all set now.