Hello Everybody.
I've looked for the error message in google and in the web but found nothing that helped me to solve the problem.
I had Druapl 4.5 working fine, but after the upgrade to 4.6 this error message start appearing in my site.
I followed the upgrade instructions and passed all upgrade tests except this:
2005-01-18
user error: Invalid default value for 'vid'
query: CREATE TABLE vocabulary_node_types (
vid int(10) NOT NULL default '',
type varchar(16) NOT NULL default '',
PRIMARY KEY (vid, type))
in /var/www/drupal/includes/database.mysql.inc on line 66.
CREATE TABLE {vocabulary_node_types} (
vid int(10) NOT NULL default '',
type varchar(16) NOT NULL default '',
PRIMARY KEY (vid, type))
FAILED
I did not worry about that till now.
Every time I go to categories I get:
user error: Table 'drupal.vocabulary_node_types' doesn't exist
query: SELECT v.*, n.type FROM vocabulary v LEFT JOIN vocabulary_node_types n ON v.vid = n.vid ORDER BY v.weight, v.name in /var/www/drupal/includes/database.mysql.inc on line 66.
and I see the post subject message in drupal logs.
I think this error is directly relationed to taxonomy, but it's just a guess.
As I have minor idea of MySQL, could some one help me to find where do I have to create the table?