david lyne - 2000-06-27

I have just installed webdistro and am getting the following error when adding a new entry to the calendar.

Database error: Invalid SQL: INSERT INTO webcal_entry (cal_create_by, cal_date, cal_time, cal_mod_date, cal_mod_time, cal_duration, cal_priority, cal_access, cal_type, cal_name, cal_description ) VALUES ('dev', 20000614, NULL, 20000627, 180409, 0, 2, 'private', 'E', 'hjkhk', '' )
MySQL Error: 1062 (Duplicate entry '0' for key 1)
Database error: Invalid SQL: INSERT INTO webcal_entry_user (cal_id,cal_login,cal_status ) VALUES (1, 'dev', 'A')
MySQL Error: 1062 (Duplicate entry '1-dev' for key 1)

Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in /www/v78/dev/secure/webcalendar/edit_entry_handler.php3 on line 217

Can anyone help?

Dave.