Installing under Drupal 6-16, The following error appears:

user warning: Key column 'field' doesn't exist in table query: CREATE TABLE profile_taxonomy ( `fid` INT unsigned NOT NULL DEFAULT 0, `vid` INT unsigned NOT NULL DEFAULT 0, PRIMARY KEY (field, vid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /srv/www/webinars02-drupal-6.16/includes/database.inc on line 550.

It looks as though there is a typo on line 33 of profile_taxonomy.install:

'primary key' => array('field', 'vid'),

Changing 'field' to 'fid' allowed the module to install. However, I notice that there seem to have been some changes around rc1, rc2 regarding whether field names, or fids are stored in the table, so I am not confident that this is a correct fix for this problem.

Once I changed this line, I still encountered another problem (submiited separately.)

Comments

gnindl’s picture

Version: 6.x-1.0-rc2 » 6.x-1.0-rc3
Assigned: Unassigned » gnindl
Status: Active » Fixed

There was a typo. Of course "fid" is the new primary key, not the previous field "field".

ctrent’s picture

Thanks - the module installs cleanly now

Status: Fixed » Closed (fixed)

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