Further to this thread: http://drupal.org/node/58573
When using the current 4.7 version of taxonomy_access, the documentation (install.txt) states that the database tables will be created automatically, but aren't created when the module is installed.
So either the documentation needs to be updated, and a sql file provided that we can use to update our database when we install the module. Or the code of the module itself fixed so that the database tables are created correctly (not sure why they aren't).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | INSTALL.txt_1.patch | 386 bytes | Jim Phlew |
Comments
Comment #1
sjfarrar commentedFurther to the above, fresh install of 4.7, fresh install of taxonomy_access 4.7.
MySQL: 4.1
PHP: 5.1
Comment #2
turbobco commentedI'm using drupal 4.7.0, taxonomy_access 4.7.0 ,php 4.4.1 and mysql 4.1.18 and taxonomy_access installation did not work.
A temporal solution could be taken the SQL CREATE sentences from taxonomy_access.install and do it manually.
--->
CREATE TABLE term_access (
tid int(10) unsigned NOT NULL default '0',
rid int(10) unsigned NOT NULL default '0',
grant_view tinyint(1) unsigned NOT NULL default '0',
grant_update tinyint(1) unsigned NOT NULL default '0',
grant_delete tinyint(1) unsigned NOT NULL default '0',
grant_create tinyint(1) unsigned NOT NULL default '0',
grant_list tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (tid,rid)
) TYPE=MyISAM;
CREATE TABLE term_access_defaults (
vid int(10) unsigned NOT NULL default '0',
rid int(10) unsigned NOT NULL default '0',
grant_view tinyint(1) unsigned NOT NULL default '0',
grant_update tinyint(1) unsigned NOT NULL default '0',
grant_delete tinyint(1) unsigned NOT NULL default '0',
grant_create tinyint(1) unsigned NOT NULL default '0',
grant_list tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (vid,rid)
) TYPE=MyISAM;
Comment #3
sjfarrar commentedYeah, as stated in the thread linked above, that's exactly what I did to get it working.
Comment #4
Jim Phlew commentedPatch to INSTALL.txt for taxonomy_access-4.7.0:
INSTALL.txt.patch
-1) COPY taxonomy_access.module to your drupal installation's module directory
+1) COPY taxonomy_access.module and taxonomy_access.install to your drupal installation's module directory
Comment #5
keve commentedThanks for the patch. (Commited to 4.7).
Comment #6
(not verified) commented