Mailing List Archive

ldap connection = total distater
I'm trying the git version of davical ( linked with the git version of awl )

Setting up the ldap driver is a full pain, due to the number of notice for non existant var tested.

Then I just get failure like if $usename is lost

debug files here
http://dl.dropbox.com/u/13333867/tests/davical_git-snapshot-ldap-connect.pdf
and here

http://dl.dropbox.com/u/13333867/tests/php.ical.error.log

I've a project to setup with new versions (php 5.3.7, and postgresql 9.0.4, openldap 2.4)
What would be the best way to make this working.

--

Bruno Friedmann
Ioda-Net S?rl www.ioda-net.ch

openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot
ldap connection = total distater [ In reply to ]
On Tue, 2011-06-28 at 21:57 +0200, Bruno Friedmann wrote:
> I'm trying the git version of davical ( linked with the git version of awl )
>
> Setting up the ldap driver is a full pain, due to the number of notice
> for non existant var tested.
>
> Then I just get failure like if $usename is lost
>
> debug files here
> http://dl.dropbox.com/u/13333867/tests/davical_git-snapshot-ldap-connect.pdf
> and here
>
> http://dl.dropbox.com/u/13333867/tests/php.ical.error.log
>
> I've a project to setup with new versions (php 5.3.7, and postgresql 9.0.4, openldap 2.4)
> What would be the best way to make this working.

If you are using PostgreSQL 9 it is necessary to use the Git version of
DAViCal. If you are using a very new PHP version you will definitely
need to disable warnings. These warnings occur because some features
which it is necessary to use under PHP 5.1 are now deprecated in PHP 5.3
(I'm afraid I forget the exact details of this).

I don't intend to drop support for PHP 5.1 any time soon, since I
believe some stable linux distributions may still be shipping with PHP
5.1, so these warnings will continue for a while yet. If you want to
put a case that PHP 5.1 is no longer shipped anywhere and I should drop
support from it I'd be happy to listen, but you'd need to include
facts :-)

If you run DAViCal with:

$c->dbg = array();

(i.e. with debugging disabled) you should not see any errors regarding
unassigned variables. This is the recommended setting for running
production servers. Please do not run DAViCal with "$c->dbg['ALL'] = 1"
as this *will* cause errors, and DAViCal will probably fail. It's only
a last resort debugging setting for when PHP crashes on some particular
repeatable circumstance.

For debugging CalDAV connections the most useful debug setting is
usually:

$c->dbg = array( 'request' => 1, 'response' => 1 );

This will dump the incoming headers & body in the log for both the
request from the client, and the response from DAViCal.

Cheers,
Andrew.

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Building more free and open source software for New Zealanders