|
From: Andrew M. <an...@mo...> - 2009-08-13 21:44:09
|
On Thu, 2009-08-13 at 11:29 +0200, Vincent Van Houtte wrote: > Hi there, > > second question, second post :) > > I saw in the forums that a webclient for davical was releases last > june, and I tried it out yesterday. Is this: http://wiki.davical.org/w/DAViCal_Web_Client The instructions here did not work? http://wiki.davical.org/w/DAViCal_Web_Client_Installation Or some other web client I am not aware of? > I had to install PDO and a driver to be able to configure it, and I > could not find any documentation, except for a japanese website > (http://zoka.jp/wiki/index.php?ubuntu) with a small installation manual: > > # sudo apt-get install php5-pgsql > # sudo apt-get install php5-dev php-pear php5-mcrypt > # sudo chown www-data:www-data webcal > # sudo pecl install pdo > # sudo pecl install pdo_pgsql > # sudo pecl install pdo_sqlite > # sudo pecl install mcrypt > # /etc/php5/apache2/php.iniおよび/etc/php5/cli/php.iniに追記 > extension=pdo.so > extension=pdo_pgsql.so > extension=mcrypt.so > extension=pdo_sqlite.so > > the pdo_sqlite would not install correctly, so I could not get it > installed. Furthermore, the PDO-installation messed up my > pqsql-connections, so I had to undo all steps to get my intranet back > up. Those instructions are a curious mix of instructions for Debian/Ubuntu instructions for !Debian/Ubuntu. In particular the pecl commands seem to me to be a problem and it would be better to install using the packages. The php5-pgsql package already includes the pdo_pgsql module, so it should be possible to just enable those in the php.ini without needing the 'sudo pecl ...' stuff. > My question: > I would like to be able to read the calendars from outside the office, > and preferably through the intranet-website I'm setting up. Reading > the pgsql-tables would be no problem with php/pgsql, but would it also > be possible to write new calendar entries with php/pgsql, without > messing up the caldav stores? It's theoretically possible to do so, but it's undoubtedly fragile and unsupported in practise. A better way would be to construct an iCalendar for the new/changed event and passing it to one of the DAViCal functions in inc/caldav-PUT-functions.php. Better still would be to hand that iCalendar into inc/caldav-client.php to PUSH it via CalDAV. Regards, Andrew McMillan. ------------------------------------------------------------------------ andrew (AT) morphoss (DOT) com +64(272)DEBIAN You will be recognized and honored as a community leader. ------------------------------------------------------------------------ |