Under PHP 5.2.3 running as fastcgi, the _drupalvb_fetch_config() function fails to return $config after the first time.
Reason: require_once() will only include 'config.php' one time. I only discoverd this because my vbulletin install is running under a non-default tableprefix.
Quick fix, replace the function with this
//Function to grab the configuration/options of the vB installation
function _drupalvb_fetch_config() {
global $vbconfig_array;
if(!isset($vbconfig_array) || empty($vbconfig_array))
{
$config = array();
require_once('config.php');
$vbconfig_array = $config;
}
return $vbconfig_array;
}
Comments
Comment #1
sunThis has already been fixed in 5.x-1.1. Please update your module.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.