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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | taxonomyblocks.zip | 905 bytes | webkoi |
Comments
Comment #1
webkoi commentedI 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
Comment #2
Mark Theunissen commented+1 this causes a white screen of death on installing the module for the first time
Comment #3
techczech commentedReplacing arrar with array fixes the problem.
Comment #4
smokrisFixed in 6.x-1.6 (released today).