The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I've been customizing my vBulletin template, mostly by editing the navbar template and some smaller tweaks here and there to allow me to use the navbar as a sidebar element on my site. During this process I noticed that my logout link would return an error message, but still successfully log me out of the forums.
Error Message: Code:
Parse error: syntax error, unexpected T_CLASS in /home/username/public_html/forums/includes/functions.php(2954) : eval()'d code on line 11 Code:
if ($vbulletin->GPC['ajax']) { require_once(DIR . '/includes/class_xml.php'); $xml = new vB_AJAX_XML_Builder($vbulletin, 'text/xml'); $xml->add_tag('error', $errormessage); $xml->print_xml(); exit; } else { if ($vbulletin->noheader) { @header('Content-Type: text/html' . ($vbulletin->userinfo['lang_charset'] != '' ? '; charset=' . $vbulletin->userinfo['lang_charset'] : '')); } eval('print_output("' . fetch_template($templatename) . '");'); exit; } If someone could direct me towards any template files that might be the cause that would be greatly appreciated. |
#2
|
||||
|
||||
![]()
Update: I found out the error was caused by the STANDARD_ERROR and STANDARD_REDIRECT templates. Since I did a search and replace function it ended up screwing up an <if> statement in those 2 files which resulted in the error. Reverting these 2 template files resolved the problem.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|