Posted by Konstantin Boyandin on November 12, 2009 at 2:40am
Jump to:
| Project: | TrackBack |
| Version: | 6.x-1.2 |
| Component: | Sending |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Drupal 6.13, PHP 5.3
When modifying node with trackbacks enabled, the following warning is sent:
user warning: Duplicate entry 'NNN' for key 1 query: INSERT INTO trackback_node(nid, awaiting_cron, can_receive) VALUES(NNN, 0, 1) in /path/to/modules/trackback/trackback.module on line 252.
There were no such error with PHP of lesser versions.
Comments
#1
I suffer the same problem:
user warning: Duplicate entry '1059' for key 'PRIMARY' query: INSERT INTO trackback_node(nid, awaiting_cron, can_receive) VALUES(1059, 0, 1) in [...]/all/modules/trackback/trackback.module on line 252
#2
another me too:
I'm on Drupal 6.20, PHP 5.3.3
I am importing content using the wordpress_import module and I believe it requires the trackback module to import trackback comments. I run into the reported warning when publishing/promoting nodes imported using wordpress_import. (so far that is all I have done).
user warning: Duplicate entry '236' for key 'PRIMARY' query: INSERT INTO trackback_node(nid, awaiting_cron, can_receive) VALUES(236, 1, 0) in /blah/blah/blah/sites/all/modules/trackback/trackback.module on line 252.#3
I am experiencing this same issue.
Maybe the "awaiting_cron, can_receive" part of the error is significant.