Active
Project:
Hashcash
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2017 at 15:25 UTC
Updated:
26 Mar 2019 at 07:33 UTC
Jump to comment: Most recent
$ drush en hashcash
...
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1071
Specified key was too long; max key length is 767 bytes: CREATE TABLE {hashcash} (
`hashcash` VARCHAR(255) NOT NULL COMMENT 'The hashcash value',
`hcdate` VARCHAR(6) NOT NULL COMMENT 'When this hashcash was submitted',
PRIMARY KEY (`hashcash`),
INDEX `hashcash_date_index` (`hcdate`)
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Stores the hashcash values that have been
submitted,…'; Array
(
)
in
.../core/lib/Drupal/Core/Database/Connection.php:671
Comments
Comment #2
dunot commentedYep, i've got it too in php 7.1.11 or php 7.0 with core D8.6.7
plus
while flushing Drupal cache.