Posted by Digidog on January 3, 2012 at 6:37pm
Jump to:
| Project: | Support Nag |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
<?php
WD php: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB/TEXT column 'message' [error]
can't have a default value: CREATE TABLE {support_nags} (
`nagid` INT unsigned NOT NULL auto_increment,
`action` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Nag action to perform.',
`clients` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all clients affected by this nag.',
`states` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all states affected by this nag.',
`priorities` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all priorities affected by this nag.',
`assigned` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all assigned users affected by this nag.',
`mailto` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Notification recipients.',
`subject` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'Notification subject.',
`message` TEXT NOT NULL DEFAULT '' COMMENT 'Notification or update message text.',
`frequency` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Frequency to send notification or update ticket.',
`last` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Last notification or update.',
`count` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Total notifications sent or updates made.',
PRIMARY KEY (`nagid`)
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'The support_nags table stores individual support
nag...; Array
(
)
in db_create_table() (line 2684 of /home/digidog/www/drupal7/includes/database/database.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB/TEXT column 'message' can't have a default value: CREATE TABLE {support_nags} (
`nagid` INT unsigned NOT NULL auto_increment,
`action` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Nag action to perform.',
`clients` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all clients affected by this nag.',
`states` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all states affected by this nag.',
`priorities` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all priorities affected by this nag.',
`assigned` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'List of all assigned users affected by this nag.',
`mailto` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Notification recipients.',
`subject` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'Notification subject.',
`message` TEXT NOT NULL DEFAULT '' COMMENT 'Notification or update message text.',
`frequency` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Frequency to send notification or update ticket.',
`last` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Last notification or update.',
`count` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Total notifications sent or updates made.',
PRIMARY KEY (`nagid`)
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'The support_nags table stores individual support nag...'; Array
(
)
in db_create_table() (line 2684 of /home/digidog/www/drupal7/includes/database/database.inc).
Drush command terminated abnormally due to an unrecoverable error.
?>not sure if this error occurs only in my enviroment or my installation method via Drush 4.5 on Drupal 7 latest --dev (installing it among with support, support_bot and bot)
Comments
#1
I'm getting the same thing installing manually. On Drupal 7.10.