編輯 sql/mysql.sql,調整 col_name 的大小為 100 試試
CREATE TABLE `tad_themes_files_center` (
`files_sn` smallint(5) unsigned AUTO_INCREMENT,
`col_name` varchar(100) default '',
`col_sn` mediumint(9) unsigned default '0',
`sort` smallint(5) unsigned default '1',
`kind` enum('img','file') default 'img',
`file_name` varchar(255) default '',
`file_type` varchar(255) default '',
`file_size` int(10) unsigned default '0',
`description` text NOT NULL,
`counter` mediumint(8) unsigned default 0,
`original_filename` varchar(255) default '',
`hash_filename` varchar(255) default '',
`sub_dir` varchar(255) default '',
`upload_date` datetime COMMENT '上傳時間',
`uid` mediumint(8) unsigned default 0 COMMENT '上傳者',
`tag` varchar(255) default '' COMMENT '註記',
PRIMARY KEY (`files_sn`),
UNIQUE KEY `col_name` (`col_name`,`col_sn`,`sort`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
`theme_name` varchar(100) default '' COMMENT '佈景名稱',
theme_name 也調為 100 試試