Warning: Cannot add header information - headers already sent by

David Chang txg16@yahoo.com.tw
Wed, 26 Dec 2001 11:04:33 +0800 (CST)


Hi all:
I got error message after adding a new event,there
message is like this:
======================================================
 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 } 
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
=======================================================

kronolith/config/conf.php setting is:
$conf['calendar']['driver'] = 'sql';
$conf['calendar']['params']['phptype'] = 'mysql';
$conf['calendar']['params']['username'] = 'horde';
$conf['calendar']['params']['password'] = '***';
$conf['calendar']['params']['hostspec'] = 'localhost';
$conf['calendar']['params']['database'] = 'horde';
$conf['calendar']['params']['table'] =
'kronolith_events';



-----------------------------------------------------------------
< ¨C¤Ñ³£ Yahoo!©_¼¯ >  www.yahoo.com.tw