运行软件:
检查依赖关系:
Magic Quotes: Disabled - OK Depends on: presence config.inc.php - OK Checking $CONF['configured'] - OK Depends on: presence config.local.php - OK Depends on: MySQL 4.1 - OK Testing database connection (using mysqli) - OK Depends on: session - OK Depends on: pcre - OK Depends on: multibyte string - OK Depends on: IMAP functions - OK
一切似乎都很好…尝试创build/更新数据库结构
CREATE TABLE IF NOT EXISTS config ( `id` int(11) not null auto_increment primary key, `name` VARCHAR(20) /*!40100 CHARACTER SET latin1 */ NOT NULL DEFAULT '', `value` VARCHAR(20) /*!40100 CHARACTER SET latin1 */ NOT NULL DEFAULT '', UNIQUE name ( `name` ) ) ENGINE = MYISAM COMMENT = 'PostfixAdmin settings'
更新数据库:
更新到版本1(MySQL)…
CREATE TABLE IF NOT EXISTS admin ( `username` varchar(255) NOT NULL default '', `password` varchar(255) NOT NULL default '', `created` datetime NOT NULL default '2000-01-01 00:00:00', `modified` datetime NOT NULL default '2000-01-01 00:00:00', `active` tinyint(1) NOT NULL default '1', PRIMARY KEY (`username`) ) ENGINE=MyISAM COMMENT='Postfix Admin - Virtual Admins';
debugging信息:无效查询:指定的密钥太长; 最大密钥长度是1000字节
检查你的error_log失败的查询。