The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Error: Parse error: syntax error, unexpected '{' in /home/tvallyc/public_html/include
Just installed the Facebook connect product.
I am getting this annoying one liner error at the top of the forum now, can figure out what is is. Any ideas appreciated. Thanks. When I disable the Facebook connect product the error disappears. Parse error: syntax error, unexpected '{' in /home/tvallyc/public_html/includes/functions.php(5586) : eval()'d code on line 9 I did these changes to function.php (a developer did this for me): // parse PHP include ################## if (!is_demo_mode()) { //echo "hook = ".$hook."<br>"; //($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false; $hook = vBulletinHook::fetch_hook('global_complete'); print_r($hook); if($hook) eval($hook); } And got this: require_once(DIR . '/includes/facebook/facebook.php'); if ($_GET['fblogout']) { if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']); try { $vbulletin->facebook->kill_cookies(); } catch(FacebookRestClientException $ex) { } } Parse error: syntax error, unexpected '{' in /home/tvallyc/public_html/includes/functions.php(5590) : eval()'d code on line 9 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|