This will create your zone_flags table:
Code:
CREATE TABLE `zone_flags` (
`charID` INT(11) NOT NULL DEFAULT '0',
`zoneID` INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`charID`, `zoneID`)
)
COLLATE='latin1_swedish_ci'
ENGINE=MyISAM
;
No required data in the table. Although if this table is missing, I would not be surprised if your database had other issues.