[turba] Re: Problem with French Characters
Pär Aronsson
par.aronsson@nohup.se
15 Sep 2002 15:01:20 +0200
I'm using many objectclasses to make an address in the ldap server look
good in other clients like Evolution, Mozilla ...
> Could you put a var_dump($attributes) in there so we can see what exactly is
> an array? I put a check in to CVS that ought to work around it, in any case...
This is displayed in the browser.
array(3) { ["cn"]=> string(11) "test person" ["mail"]=> string(14)
"test@person.se" ["objectclass"]=> array(5) { [0]=> string(3) "top"
[1]=> string(6) "person" [2]=> string(20) "organizationalPerson" [3]=>
string(13) "inetOrgPerson" [4]=> string(15) "evolutionPerson" } }
array(3) { ["cn"]=> string(11) "test person" ["mail"]=> string(14)
"test@person.se" ["objectclass"]=> array(5) { [0]=> string(3) "top"
[1]=> string(6) "person" [2]=> string(20) "organizationalPerson" [3]=>
string(13) "inetOrgPerson" [4]=> string(15) "evolutionPerson" } }
array(3) { ["cn"]=> string(11) "test person" ["mail"]=> string(14)
"test@person.se" ["objectclass"]=> array(5) { [0]=> string(3) "top"
[1]=> string(6) "person" [2]=> string(20) "organizationalPerson" [3]=>
string(13) "inetOrgPerson" [4]=> string(15) "evolutionPerson" } }
Warning: Cannot add header information - headers already sent by (output
started at /var/www/html/ssl/horde/turba/lib/Driver/ldap.php:306) in
/var/www/html/ssl/horde/turba/addobjectaction.php on line 39
> > Fatal error: Call to undefined function: addparameter() in
> > /var/www/html/ssl/horde/turba/addobjectaction.php on line 37
>
> This just means that your Horde is too old.
The Horde I've been using is from about June I think. I've tried the
latest RELENG for Horde and Imp and HEAD for Turba. That will give a
whole bunch of errors about stylesheets and headers.
When using my old Horde and only upgrade turba/lib/Driver/ldap.php and
turba/addobjectaction.php, to HEAD, it is possible to add an entry to
the ldap directory, but the error above is given. Apart from that
everything works extremely well.
Line 39 in turba/addobjectaction.php reads:
header('Location: ' . Horde::applicationUrl($url, true));