[Kolab-devel] format error in kolab_addressbook

Mihai Badici mihai at badici.ro
Sat Oct 6 12:09:58 CEST 2012


On Tuesday, October 02, 2012 11:32:18 pm Mihai Badici wrote:
> After the previous discutions, I manage to make roundcube 0.9 to work with
> calendar and addressbook.
> However, when I add a contact from roundcube form, I have this error when
> displaying contact:
> 
> 
> strtr() expects parameter 1 to be string, resource given in
> /usr/lib/roundcubemail-0.9/program/include/rcube_utils.php on line 276
> Warning: strtr() expects parameter 1 to be string, resource given in
> /usr/lib/roundcubemail-0.9/program/include/rcube_utils.php on line 247
> 
> Indeed, in the contact's XML the fn it's correct, but the givenname and
> surname fields are as : <surname> resource ID #231 </surname>
> So it's probably about parsing or converting the form.
> 
> 
> Regards,
> Mihai
Well, I find myself:
On slackware 13.37 the default swig package is 1.3.38.
I upgraded to 2.0.8 and recompiled libkolabxml.
Now it's work.




More information about the devel mailing list