We're no longer able to add attachments to stories, which we were previously able to do without a problem.

We've switched over to Drupal 6.10, everything is up to date, we're not at the limit of 100 MB per user for attachments, and the attachment we're trying is far below the 2 MB threshhold.

Looking at the MySQL database, we see that the table 'upload' is not being correctly updated - a record is being added with no 'fid' and nothing in the 'description' field (where the file name would normally go).

When we do get an error message it's something like this:

user warning: Duplicate entry '215-0' for key 1 query: INSERT INTO upload (fid, nid, vid, list, description, weight) VALUES (0, 215, 215, 0, '', 0) in /homepages/40/d251271346/htdocs/modules/upload/upload.module on line 411.

Help!

(Thank you.)