[Wed May 9 13:12:06 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/steamedp/public_html/CMS/includes/database.mysql.inc:172) in /home/steamedp/public_html/CMS/includes/bootstrap.inc on line 543
[Wed May 9 13:12:06 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/steamedp/public_html/CMS/includes/database.mysql.inc:172) in /home/steamedp/public_html/CMS/includes/bootstrap.inc on line 535
[Wed May 9 13:12:06 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/steamedp/public_html/CMS/includes/database.mysql.inc:172) in /home/steamedp/public_html/CMS/includes/bootstrap.inc on line 527
[Wed May 9 13:12:06 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/steamedp/public_html/CMS/includes/database.mysql.inc:172) in /home/steamedp/public_html/CMS/includes/bootstrap.inc on line 526
[Wed May 9 13:12:06 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/steamedp/public_html/CMS/includes/database.mysql.inc:172) in /home/steamedp/public_html/CMS/includes/bootstrap.inc on line 523
[Wed May 9 13:12:06 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/steamedp/public_html/CMS/includes/database.mysql.inc:172) in /home/steamedp/public_html/CMS/includes/bootstrap.inc on line 522
[Wed May 9 13:12:06 2007] [error] PHP Warning: Duplicate entry '206.196.125.91' for key 1\nquery: INSERT INTO drupal_httpbl (hostname, status, expire) VALUES ('206.196.125.91', 0, 1178752326) in /home/steamedp/public_html/CMS/includes/database.mysql.inc on line 172
Comments
Comment #1
praseodym CreditAttribution: praseodym commentedI believe the only possibility for this to happen is a race condition where another INSERT for the same IP is done just before the one that throws an error. Do you have any more information about the situation this error occurred in?
Comment #2
samirnassar CreditAttribution: samirnassar commentedWhat further information would be helpful? Access logs for the site?
Comment #3
samirnassar CreditAttribution: samirnassar commentedHere are the access logs for that timeframe:
206.196.125.91 - - [09/May/2007:13:12:05 -0400] "GET /journal/feed/ HTTP/1.1" 301 320 "-" "BlogSearch/1.1 +http://www.icerocket.com/"
206.196.125.91 - - [09/May/2007:13:12:05 -0400] "GET /journal/feed/atom/ HTTP/1.1" 301 320 "-" "BlogSearch/1.1 +http://www.icerocket.com/"
206.196.125.91 - - [09/May/2007:13:12:06 -0400] "GET / HTTP/1.1" 200 12023 "-" "BlogSearch/1.1 +http://www.icerocket.com/"
206.196.125.91 - - [09/May/2007:13:12:06 -0400] "GET / HTTP/1.1" 200 12447 "-" "BlogSearch/1.1 +http://www.icerocket.com/"
Comment #4
praseodym CreditAttribution: praseodym commentedI think it's indeed a race condition. Will have to add another check or ignore INSERT errors (don't know if that's possible).
Comment #5
praseodym CreditAttribution: praseodym commentedFixed in 0.9, 1.x-DEV and HEAD.
Comment #6
(not verified) CreditAttribution: commented