Needs review
Project:
Newsticker
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2010 at 23:22 UTC
Updated:
30 Mar 2012 at 20:42 UTC
user warning: Column length too big for column 'title' (max = 255); use BLOB or TEXT instead query: CREATE TABLE newsticker_item ( `ntid` INT unsigned NOT NULL auto_increment, `title` VARCHAR(256) NOT NULL DEFAULT '', `link` VARCHAR(512) NOT NULL DEFAULT '', `weight` INT NOT NULL DEFAULT 0, PRIMARY KEY (ntid), INDEX ntid (ntid) )
Comments
Comment #1
matslats commenteduser warning: Column length too big for column 'link' (max = 255); use BLOB or TEXT instead query: CREATE TABLE newsticker_item ( `ntid` INT unsigned NOT NULL auto_increment, `title` VARCHAR(255) NOT NULL DEFAULT '', `link` VARCHAR(512) NOT NULL DEFAULT '', `weight` INT NOT NULL DEFAULT 0, PRIMARY KEY (ntid), INDEX ntid (ntid) )
Comment #2
jlea9378 commentedI'm also getting this error.
MySQL 4.1.22
PHP 5.2.12
Changing the schema to this:
'title' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => t('Title')
),
'link' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => t('Link')
Allows me to install the module without errors.
Comment #3
jlea9378 commentedCan this be closed?