Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I got the following error on one occasion. I wasn't able to reproduce it again. It just happened on one instance, I thought I should report it nevertheless.
I am on:
MySQL database 5.0.67
PHP 5.2.6
Apache/2.2.9 (Unix) PHP/4.4.9 mod_ssl/2.2.9 OpenSSL/0.9.8c mod_fastcgi/2.4.6 Phusion_Passenger/2.0.3 DAV/2 SVN/1.4.2
user warning: Duplicate entry '50-0-99.228.41.125' for key 1 query: INSERT INTO drupal_poll_votes (nid, chorder, hostname) VALUES (50, 0, '99.228.41.125') in /home/...../modules/poll/poll.module on line 611.
Just voted on a poll, the page refreshed with the following error.
Comments
Comment #1
HS CreditAttribution: HS commentedOK now I'm seeing this in my logs
Comment #1.0
HS CreditAttribution: HS commentedRemoved domain name.
Comment #2
apadernoComment #3
HS CreditAttribution: HS commentedStill facing this issue. The module may not be able to handle votes from different User Id's emanating from the the same IP address? Been a month and no response to this issue.
Comment #4
antlib CreditAttribution: antlib commentedI'm having this issue too:
Duplicate entry '23-1-' for key 1 query: INSERT INTO poll_votes (nid, chorder, uid) VALUES (23, 3, 1)
For some reason the poll registered 2 votes when testing despite only voting once. I did not hit refresh or press the submit button twice.
Anyone else having this problem?
Comment #5
dpearcefl CreditAttribution: dpearcefl commentedIs this still an active issue for you?
Comment #6
dpearcefl CreditAttribution: dpearcefl commented