[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

praseodym’s picture

Assigned: Unassigned » praseodym

I 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?

samirnassar’s picture

What further information would be helpful? Access logs for the site?

samirnassar’s picture

Here 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/"

praseodym’s picture

I think it's indeed a race condition. Will have to add another check or ignore INSERT errors (don't know if that's possible).

praseodym’s picture

Status: Active » Fixed

Fixed in 0.9, 1.x-DEV and HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)