dupondje / PHP-Push-2

Z-Push Fork With CalDAV/LDAP Support
GNU Affero General Public License v3.0
67 stars 24 forks source link

Where is iCalendar.php? #46

Closed Scoutx66 closed 12 years ago

Scoutx66 commented 12 years ago

I cannot find the file "iCalendar.php" which gets included by caldav.php

dupondje commented 12 years ago

Its in libawl-php http://packages.debian.org/wheezy/all/libawl-php/filelist

Install it and enjoy :)

ekacnet commented 12 years ago

ok for libawl-php but then it needs the postgresql extensions for php ... seems a bit overkill ...

dupondje commented 12 years ago

Why would you need PostgresSQL extensions for PHP?

ekacnet commented 12 years ago

From a debian 6.0 the libawl-php package contain this line in the iCalendar.php: require_once('PgQuery.php');

And the logs starts to show

PostgreSQL Support Not Present

PostgreSQL Support Not Present

PHP is not configured to support the PostgreSQL database

You need to ensure that the PostgreSQL support module is installed, and then to configure it in your php.ini file by adding a line like this:

extension=pgsql.so

Removing this require do the trick but that's not clean.

dupondje commented 12 years ago

We could include a modified copy of iCalendar.php without the PostgreSQL extension. But is it worth it? 99% of the users run the davical on the same server, which also needs PostgreSQL extension, so ...

dupondje commented 12 years ago

And the new version (that will come in wheezy), will have no more dependency on PostgreSQL.

ekacnet commented 12 years ago

Well I'm working currently to have calendar support on plain imap (using the kolab storage format) so I need iCalendar.php but I don't have a postgresql server as I don't have a ical server.