PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes: CREATE TABLE {fusion_apply_skins} ( `sid` INT unsigned NOT NULL auto_increment COMMENT 'The primary identifier for a skin configuration.', `theme` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'The theme this configuration applies to.', `module` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'The module this configuration applies to.', `element` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'The element this configuration applies to.', `skin` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'The skin that has been applied.', `options` LONGTEXT NOT NULL COMMENT 'A serialized array containing the skin options that have been applied.', `status` TINYINT NOT NULL DEFAULT 0 COMMENT 'Boolean indicating whether or not this item is enabled.', PRIMARY KEY (`sid`), UNIQUE KEY `theme_module_element_skin` (`theme`(40), `module`(40), `element`(40), `skin`(40)), INDEX `theme` (`theme`), INDEX `module` (`theme`, `module`), INDEX `element` (`theme`, `module`, `element`), INDEX `skin` (`skin`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Stores Fusion Apply data.'; Array ( ) in db_create_table() (line 2688 of /var/www/myjohn/includes/database/database.inc).

Comments

sheena_d’s picture

Status: Active » Closed (duplicate)

This is a duplicate of http://drupal.org/node/1325542