Quote:
Originally Posted by RobAC
No. I don't use the CMS or blog parts of vBulletin.
|
ok, but do you have them? If the CMS is not installed you should not get that error, as the cms_widget table should not exist. try this, edit the product-vbrides.xml and delete the below (lines 276-342)
PHP Code:
$wg = $db->query_first("SELECT widgetid FROM " . TABLE_PREFIX . "cms_widget where product = '" . $info['productid'] . "'");
if (!$db->errno())
{
echo('<li>Adding widget <strong>Member Rides</strong> ... ');
if ($wg['widgetid'])
{
$widgetid = $wg['widgetid'];
require_once(DIR . '/includes/adminfunctions_cms.php');
require_once(DIR . '/packages/vbcms/dm/widget.php');
$widgets = new vBCms_Collection_Widget($widgetid);
if (isset($widgets[$widgetid]))
{
$widget = $widgets[$widgetid];
}
else
{
print_stop_message('invalid_x_specified', 'widgetid');
}
$widgetdm = $widget->getDM();
try
{
$widgetdm->set('title', 'Member Rides');
$widgetdm->set('description', $info['description']);
$widgetdm->set('config', array(
'template_name' => 'vbcms_widget_rides_page',
'cache_ttl' => 0,
'phpcode' => $arr['widgetphp'],
));
if (!$widgetdm->save())
{
print_cp_message($widgetdm->error);
}
}
catch (vB_Exception $e)
{
print_cp_message($e->getMessage());
}
}
else
{
require_once(DIR . '/packages/vbcms/dm/widget.php');
$widgetdm = new vBCms_DM_Widget();
$widgetdm->set('widgettypeid', '12');
$widgetdm->set('title', 'Member Rides');
$widgetdm->set('description', $info['description']);
$widgetdm->set('config', array(
'template_name' => 'vbcms_widget_rides_page',
'cache_ttl' => 5,
'phpcode' => $arr['widgetphp'],
));
$widgetid = $widgetdm->save();
if (!$widgetid)
{
$errmsg = implode("\n<br /><br />", $widgetdm->getErrors());
print_cp_message($errmsg);
}
else
{
$db->query_write("UPDATE " . TABLE_PREFIX . "cms_widget set product = '" . $info['productid'] . "' where widgetid = $widgetid");
}
}
}
Then try installing again