[kronolith] Warning: Cannot add header information - headers already sent by

Chuck Hagenbuch chuck@horde.org
Tue, 25 Dec 2001 22:17:49 -0500


Quoting David Chang <txg16@yahoo.com.tw>:

>  object(db_error)(10) { ["error_message_prefix"]=>
> string(0) "" ["error_prepend"]=> string(0) ""
> ["error_append"]=> string(0) "" ["mode"]=> int(1)
> ["level"]=> int(1024) ["code"]=> int(-5) ["message"]=>
> string(24) "DB Error: already exists" ["debuginfo"]=>
> string(0) "" ["userinfo"]=> string(310) "INSERT INTO
> kronolith_events (event_id, event_title,
> event_description, event_category, event_location,
> event_start, event_end, event_alarm, event_recurtype,
> calendar_id)values (36,'fsdf','','','','2001-12-26
> 00:00:00','2001-12-26
> 01:00:00',0,0,'txg16@thbuo.gov.tw')
> [nativecode=Duplicate entry '36' for key 1]"
> ["callback"]=> NULL } 

You have sequence problems - did you maybe insert data into your database by 
hand?

> Warning: Cannot add header information - headers
> already sent by (output started at
> /usr/local/apache/horde/kronolith/lib/Driver/sql.php:219)
> in
> /usr/local/apache/horde/kronolith/addeventaction.php
> on line 24

This error is never relevant; it just indicates another error.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin