This is what I got when I tried to run update.php after installing the latest version:

Parse error: syntax error, unexpected T_DOUBLE_ARROW in sites/all/modules/taxonomyblocks/taxonomyblocks.install on line 45

D.

CommentFileSizeAuthor
#1 taxonomyblocks.zip905 byteswebkoi

Comments

webkoi’s picture

StatusFileSize
new905 bytes

I had the same error after installing the update. It seems it was related to a simple misspelling of a few "arrar" instead of "array" in the file "taxonomyblocks.install".

From line 44 :

-----------------------------------------------------------------------------
'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,
--------------------------------------------------------------

just replace arrar by array and everything should be fine.

It would be good if updates were tested before being published.

Have a good day.

Webkoi

P.S. I attached the corrected file to this message

Mark Theunissen’s picture

+1 this causes a white screen of death on installing the module for the first time

techczech’s picture

Replacing arrar with array fixes the problem.

smokris’s picture

Status: Active » Fixed

Fixed in 6.x-1.6 (released today).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.