First thank you for a really nice module. I've set it up at http://www.meingi.com/ early this month, and have since tested it pretty intensely. And then suddenly, tonight I get this warning:
user warning: Duplicate entry '2-73' for key 1 query: INSERT INTO history (uid, nid, timestamp) VALUES (2, 73, 1158787875) in /XXXX/XXXX/XXXX/meingi.com/includes/database.mysql.inc on line 120.
I remember having this problem in April, when it reset the categories in already posted storylinks. We discussed it then (http://drupal.org/node/51789), but I must admin that I gave up on Drupal for a while, tried some other solution, and first late this summer did a complete reinstall, with the new versions of Drupal and all these modules.
The warning doesn't seem to do any harm now, but of course doesn't look good either. Any ideas ?
| Comment | File | Size | Author |
|---|---|---|---|
| bug (Medium).JPG | 63.21 KB | jackdaw |
Comments
Comment #1
frjo commentedSorry no idea, I have never seen this error message. Anyone else who have any tips?
Comment #2
jackdaw commentedEeh, you posted something similar on March 1, 2006 here: http://drupal.org/node/51789
Warning: Duplicate entry '1-18' for key 1 query: INSERT INTO term_node (nid, tid) VALUES (18, 1) in /home/u1145/xdeb.org/web/vigillar/includes/database.mysql.inc on line 120And I then confirmed the problem with:
Duplicate entry '1-12' for key 1 query: INSERT INTO term_node (nid, tid) VALUES (12, 1) in...But okay, those were inserted into term_node instead of history
My version list is by the way:
And I ran the update.php yesterday, after having updated the video-module. This is by the way the one thing that I feel most insecure about. When running the update.php, it warns that I shouldn't run it twice. But I have to do that, don't I, if I'm to run it everytime I replace some module files with newer versions ?
Comment #3
jackdaw commentedAnyway, it seems that it was a single hickup. I only got that one warning, have been posting since, and everything seems normal.
Comment #4
jackdaw commentedHmm, now I got the same message just by installing another module ...
I'm still confused, but at least now the problem seem to be with Drupal, rather than just the vote up/down module. I searched a bit more here on Drupal, and found this nice page in the handbook: http://drupal.org/node/69722
Eeh right, still seriously nerdy, but I'll try.
Comment #5
frjo commented