Patch (to be ported)
Project:
Node Subpages
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
8 Feb 2016 at 16:15 UTC
Updated:
8 Feb 2016 at 16:15 UTC
Jump to comment: Most recent
I'm unable to install this module on a particular installation of Drupal.
It throws the following error:
exception 'PDOException' with message '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 [error]
UNIQUE instead' in /Users/admin/Sites/iabuk/includes/database/database.inc:2171
Adding a NOT NULL value to the object in the installation file fixed this error. This issue occurred on MySQL 5.7.10. Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| node_subpages-installation-fix-7.x-2.x.patch | 388 bytes | rm-rf |
Comments