wvrzel / simpleCalDAV

A simple php CalDAV-Client library. Connect, create, change, delete... easy to use
GNU General Public License v2.0
116 stars 60 forks source link

ExampleUID1.ics already exists. UID not unique? #27

Open jamesinger opened 7 years ago

jamesinger commented 7 years ago

Error as below - Any idea whyit does this ?, same error from first try to 40th

Exception: http://mail.liquidflameit.co.nz:2079/rpc/calendars/james@liquidflameit.co.nz/calendar:0778f0b0-62fe-57b8-089c-afafb6029493/ExampleUID1.ics already exists. UID not unique?

For debugging purposes:

last request:

GET /rpc/calendars/james@liquidflameit.co.nz/calendar:0778f0b0-62fe-57b8-089c-afafb6029493/ExampleUID1.ics HTTP/1.1 Authorization: Basic amFtZXNAbGlxdWlkZmxhbWVpdC5jby5uejpXM2ludGVyMDA= User-Agent: cURL based CalDAV client Host: mail.liquidflameit.co.nz:2079 Accept: / Content-type: text/xml Depth: 1

last response:

HTTP/1.1 200 Date: Tue, 24 Jan 2017 01:54:03 GMT Server: cPanel Persistent-Auth: false Host: mail.liquidflameit.co.nz:2079 Cache-Control: no-cache, no-store, must-revalidate, private Connection: Keep-Alive Pragma: no-cache Accept-Charset: UTF-8 Vary: Accept-Encoding Content-Length: 427 Content-Type: text/xml;charset=UTF-8 Expires: Fri, 01 Jan 1990 00:00:00 GMT Set-Cookie: Horde=466fr75vuj4kp8kvgoek33jus4; path=/; domain=mail.liquidflameit.co.nz; HttpOnly Set-Cookie: horde_secret_key=466fr75vuj4kp8kvgoek33jus4; path=/; domain=mail.liquidflameit.co.nz; httponly Set-Cookie: default_horde_view=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=mail.liquidflameit.co.nz X-Powered-By: PHP/5.6.20

Trace:

0 /home/liquidfl/apps.liquidflameit.co.nz/ess/html/caldav/example code/example.php(139): SimpleCalDAVClient->create('BEGIN:VCALENDAR...')

1 {main}