Мод просто срубил простотой установки

Ошибочку кажется нашёл в коде.
Код: Выделить всё
$sql="
INSERT INTO `".USERS_TABLE."_bots` VALUES (2, 'Google', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (3, 'Nigma', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (4, 'Rambler', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (5, 'msnbot', 'MSN', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (31,'Lycos.com', 'Lycos', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (18,'Yandex', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (14,'Gigablast', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (17,'Yahoo', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (20,'aport.ru', 'Aport', 0, '', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (23,'becomebot', 'Become', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (25,'ia_archiver', 'Alexa', 0, '', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (32,'Crawler', 'WebAlta', 0, '', '', 1);
CREATE TABLE `".USERS_TABLE."_bots` (
`id` mediumint(8) NOT NULL default '0',
`name` varchar(25) NOT NULL default '',
`view` varchar(25) NOT NULL default '',
`lastvisit` int(11) NOT NULL default '0',
`was` varchar(15) default NULL,
`ip` varchar(100) default NULL,
`show` int(1) NOT NULL default '1',
PRIMARY KEY (`id`),
);
";

Правильней будет так:
Код: Выделить всё
$sql="
CREATE TABLE `".USERS_TABLE."_bots` (
`id` mediumint(8) NOT NULL default '0',
`name` varchar(25) NOT NULL default '',
`view` varchar(25) NOT NULL default '',
`lastvisit` int(11) NOT NULL default '0',
`was` varchar(15) default NULL,
`ip` varchar(100) default NULL,
`show` int(1) NOT NULL default '1',
PRIMARY KEY (`id`)
);
INSERT INTO `".USERS_TABLE."_bots` VALUES (2, 'Google', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (3, 'Nigma', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (4, 'Rambler', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (5, 'msnbot', 'MSN', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (31,'Lycos.com', 'Lycos', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (18,'Yandex', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (14,'Gigablast', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (17,'Yahoo', '', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (20,'aport.ru', 'Aport', 0, '', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (23,'becomebot', 'Become', 0, '0', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (25,'ia_archiver', 'Alexa', 0, '', '', 1);
INSERT INTO `".USERS_TABLE."_bots` VALUES (32,'Crawler', 'WebAlta', 0, '', '', 1);
";
Хотя всё-равно таблицы сами не создались.. пришлось вручную.