Here is the typo mistake at line 45,49,54,59,64,69,74,79 in taxonomyblocks.install

written "arrar", which should be "array"

$schema['tb_customized'] = array(
'description' => t('Stores customization information'),
'fields' => array(
'tb_id' => arrar(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'vid' => arrar(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'custom_title' => arrar(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'path_pattern' => arrar(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'title_pattern' => arrar(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'counter' => arrar(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'weight' => arrar(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'enabled' => arrar(
'type' => 'int',
'not null' => TRUE,
'default' => 1,
),
),
);

After resolving

$schema['tb_customized'] = array(
'description' => t('Stores customization information'),
'fields' => array(
'tb_id' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'vid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'custom_title' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'path_pattern' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'title_pattern' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'counter' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'weight' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'enabled' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 1,
),
),
);

Find attached file with updates

Regards
Suketu Topiwala

CommentFileSizeAuthor
taxonomyblocks.txt2.8 KBsnipe

Comments

smokris’s picture

Status: Active » Closed (duplicate)