[support] Weird mysql error when creating new forum
Earnie Boyd
earnie at users.sourceforge.net
Fri Apr 25 12:30:13 UTC 2008
Quoting Shai Gluskin <shai at content2zero.com>:
> Drupallers,
>
> When trying to create a new forum, I get this error:
>
> user warning: Duplicate entry '10' for key 1 query: INSERT INTO term_data
>> (tid, name, description, vid, weight) VALUES (10, 'Sellers Forum', '', 4, 0)
>> in /home/cmp/public_html/includes/database.mysql.inc on line 172.
>
Which version of Drupal?
>
> Why is Drupal trying to run a query to insert info data into the term_data
> table?
>
Because (any number of reasons). Have you modified the term_data table
structure to add a UNIQUE KEY? What is the output of 'SELECT * FROM
term_data WHERE tid = 10'?
> I'm adding the forum at: example.com/en/admin/content/forum/add/forum (the
> "en" is for English, I'm using translation module).
>
Does the term 'Sellers Forum' exist already?
> As usual, any help would be appreciated!
>
HTH
Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/
More information about the support
mailing list