Ok, I am using related links module on my site and you can first see the errors on one of the page at - http://www.money-faq.com/why-are-there-two-different-interest-rates-for-...
Now the Cause - I installed relatedlinks, than uninstalled it. Than manually deleted its two tables nodelist and nodelist_tracker. Now after repeatedly trying, the tables are not getting created. Surprisingly you can see that the blocks that the module created are still showing related links below the page even though the table don't exist.
Anyway Now how to created the tables again ? I have tried to run the sql commands of .install file but they are giving errors. Can someone tell me how to create tables. Here is the full .install file of related links
<?php
// $Id: relatedlinks.install,v 1.18 2006/11/13 21:47:34 karthik Exp $
/**
* Implementation of hook_install().
*/
function relatedlinks_install() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysqli':
case 'mysql':
db_query("CREATE TABLE {relatedlinks} (
lid int(11) unsigned NOT NULL auto_increment,
nid int(11) unsigned NOT NULL default 0,
url varchar(255) NOT NULL default '',
title varchar(255) default NULL,
type tinyint(4) unsigned NOT NULL default 1,
PRIMARY KEY (lid),
KEY nid (nid),