Hi,

I got this error just after enabling the contrib modules on my site after a fresh install:

Duplicate entry '1' for key 1 query: INSERT INTO vocabulary (vid, name, description, help, multiple, required, hierarchy, relations, tags, weight, module) VALUES (1, 'Project release API compatibility', '', '', 0, 0, 1, 0, 0, 0, 'project_release') in \includes\database.mysql.inc on line 172

Comments

dantina’s picture

Title: Duplicate entry error » System details for the above module activation error

By the way, I've got the following installed

drupal 5.2
php 5.1
mysql 5.0

Projects module 5.x-1.0

I am not sure where the error originates from, Project release API compatibility is a vocabulary in the projects release module, but I can't see the database query in the query.

Thanks.

dantina’s picture

Title: System details for the above module activation error » Problem solved
Status: Active » Fixed

In case this helps anyone, I found out that the error occured because I enabled the category module at the same time as the project modules. I couldn't disable it once enabled - had to re-install drupal and then enabled project & all other modules needed without enabling category.

Anonymous’s picture

Status: Fixed » Closed (fixed)