I have installed MODX 2.3.1 running as noted in title.
MODX Setup page seems to work fine (all checks green, although "Checking if we should disable CSS/JS compression:" answers "Not selected, skipping test" )
Clicking the install button at the bottom of the mydomain.com/setup/index.php?action=summary
resolves to "502 Bad Gateway"
Checking the error log at /core/cache/logs/install.config.2014-09-13T08.53.17.log
shows that 4 tables can NOT be created
example:
Could not create table `modx_access_policies` SQL: CREATE TABLE `modx_access_policies` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NOT NULL, `description` MEDIUMTEXT NULL, `parent` INT(10) unsigned NOT NULL DEFAULT '0', `template` INT(10) unsigned NOT NULL DEFAULT '0', `class` VARCHAR(255) NOT NULL DEFAULT '', `data` TEXT NULL, `lexicon` VARCHAR(255) NOT NULL DEFAULT 'permissions', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), INDEX `parent` (`parent`), INDEX `class` (`class`), INDEX `template` (`template`)) ENGINE=MyISAM ERROR: Array ( [0] => 42000 [1] => 1071 [2] => Specified key was too long; max key length is 1000 bytes
I have tried with a blank MariaDB database and ALSO have tried letting MODX create the DB. Same result in each case.
I'm *so* CLOSE!!
How can I solve this? Thanks in advance!