Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am getting following error while trying to enable this module
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1171 All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead in /app/includes/database/database.inc:2227
Comment | File | Size | Author |
---|---|---|---|
#3 | 2979300-03.patch | 465 bytes | visabhishek |
Screenshot from 2018-06-13 13-35-16.png | 110.54 KB | poojasharmaece |
Comments
Comment #2
poojasharmaece CreditAttribution: poojasharmaece as a volunteer and commentedComment #3
visabhishek CreditAttribution: visabhishek as a volunteer and at Azri Solutions commentedAdded not null constraints in the install file.
Comment #4
markusd1984 CreditAttribution: markusd1984 commentedThanks @visabhishek, after applying this I had to drop the
cmp_permissions
table which was created with the first attempt of enable the module and preventing me from enabling it i disabled + applied the patch and then tried to enable it patched.Celebrated to early, unfortunately the module seems unusable as it takes ages to load the configuration page listing too many entries. Was hoping i can use it to make a simple menu -> Link item available that currently is not showing (also using admin_menu).