[turba] LDAP Photos
jan at horde.org
Tue Oct 28 14:46:45 UTC 2008
Zitat von Martin Fraser <mdf at darksnow.net>:
> Sorry, I jumped the gun a bit.
> Turns out the photo attribute doesn't like plain text for some
> reason so I'm using another attribute that takes just text. Now the
> upload appears to work an my replacement attribute ('audio' for now)
> has the mime type of the uploaded image, as expected, although it
> doesn't display it, in Horde or in phpldapadmin.
> It almost seems like the image data is being corrupted or something.
> Anyway, sorry for the noise on list, anyone have any ideas?
> Martin Fraser wrote:
>> Is it possible to have the photo field use LDAP for storing the Photo?
>> I have only just noticed the field and I added it to my Turba
>> setup. The field appears as it should and I can upload a picture,
>> as expected. The trouble comes when I try to save the picture.
>> The relevant lines added to my Turba sources are:
>> 'photo' => 'jpegPhoto',
>> 'phototype' => 'photo',
>> These correspond to a binary field for jpegPhoto and a text field
>> for photo, which I assumed would be the correct things to use.
>> My horde.log is showing:
>> HORDE [error] [turba] Modify failed: (21) Invalid syntax [pid 4555
>> on line 92 of "/var/www/horde/turba/lib/Forms/EditContact.php"]
>> Any ideas how to go about fixing this?
>> Has anyone else got this working?
>> Thanks for any help you can give.
>> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
Do you need professional PHP or Horde consulting?
More information about the turba