> I've noticed that I've only one OPTIONS request, and that's all. Then
> AgenDAV pop up an error 'Error loading calendar list', but according
> to the log, everything's fine when connecting to the davical server. A
> bug in the latest version in update_calendar_list ?
What does configtest.php say?
Everything green.
Can you describe your current environment, please? Sending your
configuration files would help too. Remember to remove passwords from
them :-)
Debian Squeeze, php 5.3.3-7, davical 0.9.9.3, postgres 8.4.13
The error show when logging in agendav : Error reading calendar list
I have created a test user with two calendar, cal1 and cal2, they are empty.
Debugging shows :
INTERNALS - 2012-10-22 20:41:12 --> REQh: 'OPTIONS /caldav.php/test/ HTTP/1.1
Authorization: Basic dGVzdDp0ZXN0
User-Agent: AgenDAV v1.3.0-dev
Host: caldav.xxxxx.xx
Accept: */*
Content-type: text/plain
'
INTERNALS - 2012-10-22 20:41:12 --> REQb: ''
INTERNALS - 2012-10-22 20:41:12 --> RPLh: 'HTTP/1.1 200 OK
Date: Mon, 22 Oct 2012 18:41:12 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze14
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, calendar-proxy, bind, addressbook
Allow: OPTIONS, PROPFIND, REPORT, DELETE, LOCK, UNLOCK, MOVE, GET, PUT, HEAD, MKCOL, MKCALENDAR, PROPPATCH
X-DAViCal-Version: DAViCal/0.9.9; DB/1.2.9
Content-Length: 0
Vary: Accept-Encoding
Content-Type: text/plain; charset="utf-8"
'
INTERNALS - 2012-10-22 20:41:12 --> RPLb: false
INTERNALS - 2012-10-22 20:41:12 --> Resp: 'HTTP/1.1 200 OK
Date: Mon, 22 Oct 2012 18:41:12 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze14
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, calendar-proxy, bind, addressbook
Allow: OPTIONS, PROPFIND, REPORT, DELETE, LOCK, UNLOCK, MOVE, GET, PUT, HEAD, MKCOL, MKCALENDAR, PROPPATCH
X-DAViCal-Version: DAViCal/0.9.9; DB/1.2.9
Content-Length: 0
Vary: Accept-Encoding
Content-Type: text/plain; charset="utf-8"
When clicking on a date :
ERROR - 2012-10-22 20:43:56 --> Severity: Notice --> iconv(): Wrong charset, conversion from `ISO-8859-1' to `UTF-8' is not allowed
/home/xxxx/data/agendav_dev3/web/lib/caldav-client/AWLUtilities.php 481
INTERNALS - 2012-10-22 20:43:56 --> REQh: 'PROPFIND /caldav.php/test/ HTTP/1.1
Authorization: Basic dGVzdDp0ZXN0
User-Agent: AgenDAV v1.3.0-dev
Host: caldav.xxxxx.xx
Accept: */*
Depth: 1
Content-type: text/xml
Content-Length: 305
'
INTERNALS - 2012-10-22 20:43:56 --> REQb: '<?xml version="1.0" encoding="utf-8" ?>
<prop>
<resourcetype/>
<displayname/>
<C1:getctag/>
<A:calendar-color/>
<A:calendar-order/>
</prop>
</propfind>
'
INTERNALS - 2012-10-22 20:43:56 --> RPLh: 'HTTP/1.1 207 Multi-Status
Date: Mon, 22 Oct 2012 18:43:56 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze14
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, calendar-proxy, bind, addressbook
ETag: "4546b1bb784b7f0086cacaa07fc69c85"
X-DAViCal-Version: DAViCal/0.9.9; DB/1.2.9
Content-Length: 3000
Vary: Accept-Encoding
Content-Type: text/xml; charset="utf-8"
'
INTERNALS - 2012-10-22 20:43:56 --> RPLb: '<?xml version="1.0" encoding="utf-8" ?>
<response>
<propstat>
<prop>
<resourcetype>
<collection/>
<principal/>
</resourcetype>
<displayname>test</displayname>
<C:getctag>"3e3506d60fc5a59327bf998b5c3210ff"</C:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<A:calendar-color/>
<A:calendar-order/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/test/calendar/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C1:calendar/>
</resourcetype>
<displayname/>
<C:getctag>"aecfd06139fa12b0a075b17e2664b222"</C:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<A:calendar-color/>
<A:calendar-order/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/test/cal1/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C1:calendar/>
</resourcetype>
<displayname>Calendrier</displayname>
<C:getctag>""</C:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<A:calendar-color/>
<A:calendar-order/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/test/cal2/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C1:calendar/>
</resourcetype>
<displayname>Calendrier bis</displayname>
<C:getctag>""</C:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<A:calendar-color/>
<A:calendar-order/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/test/calendar-proxy-read/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C:calendar-proxy-read/>
</resourcetype>
<displayname>/test/calendar-proxy-read/</displayname>
<C:getctag>"757d964ae8296173965eb7a4772086fa"</C:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<A:calendar-color/>
<A:calendar-order/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/test/calendar-proxy-write/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C:calendar-proxy-write/>
</resourcetype>
<displayname>/test/calendar-proxy-write/</displayname>
<C:getctag>"4421a7e046445093a5a5ab2fe9cf8f2d"</C:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<A:calendar-color/>
<A:calendar-order/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>
'
ERROR - 2012-10-22 20:43:56 --> Severity: Warning --> pg_query(): Query failed: ERROR: relation "prefs" does not exist
LINE 2: FROM "prefs"
^ /home/xxxxxxx/data/agendav_dev3/web/system/database/drivers/postgre/postgre_driver.php 176
ERROR - 2012-10-22 20:43:56 --> Query error: ERROR: relation "prefs" does not exist
LINE 2: FROM "prefs"
^
ERROR - 2012-10-22 20:43:56 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/xxxxx/data/agendav_dev3/web/system/core/Exceptions.php:185) /home/saidani/data/agendav_dev3/web/system/core/Common.php 442
Hope it helps !
Samir