Sono proprio imbranato, scusami.... spero sia il caldo e non i primi segni della vecchiaia...
ecco il codice, nella zona dove segnala l'errore:
--
-- Struttura della tabella `jos_fb_messages`
--
DROP TABLE IF EXISTS `jos_fb_messages`;
CREATE TABLE IF NOT EXISTS "jos_fb_messages" (
"id" int(11) NOT NULL auto_increment,
"parent" int(11) default '0',
"thread" int(11) default '0',
"catid" int(11) NOT NULL default '0',
"name" tinytext,
"userid" int(11) NOT NULL default '0',
"email" tinytext,
"subject" tinytext,
"time" int(11) NOT NULL default '0',
"ip" varchar(15) default NULL,
"topic_emoticon" int(11) NOT NULL default '0',
"locked" tinyint(4) NOT NULL default '0',
"hold" tinyint(4) NOT NULL default '0',
"ordering" int(11) default '0',
"hits" int(11) default '0',
"moved" tinyint(4) default '0',
"modified_by" int(7) default NULL,
"modified_time" int(11) default NULL,
"modified_reason" tinytext,
PRIMARY KEY ("id"),
KEY "thread" ("thread"),
KEY "parent" ("parent"),
KEY "catid" ("catid"),
KEY "ip" ("ip"),
KEY "userid" ("userid"),
KEY "time" ("time"),
KEY "locked" ("locked"),
KEY "hold_time" ("hold","time")
) AUTO_INCREMENT=655 ;