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).

CommentFileSizeAuthor
#4 INSTALL.txt_1.patch386 bytesJim Phlew

Comments

sjfarrar’s picture

Further to the above, fresh install of 4.7, fresh install of taxonomy_access 4.7.

MySQL: 4.1
PHP: 5.1

turbobco’s picture

I'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;

sjfarrar’s picture

Yeah, as stated in the thread linked above, that's exactly what I did to get it working.

Jim Phlew’s picture

Component: Code » Documentation
Status: Active » Needs review
StatusFileSize
new386 bytes

Patch 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

keve’s picture

Status: Needs review » Fixed

Thanks for the patch. (Commited to 4.7).

Anonymous’s picture

Status: Fixed » Closed (fixed)