[turba] Turba 1.2.2: Error adding a new contact. (Are OK now)

vcputtini at consultecnica.com.br vcputtini at consultecnica.com.br
Thu Dec 9 09:13:01 PST 2004


itat von vcputtini at consultecnica.com.br:

> Zitat von vcputtini at consultecnica.com.br:
>
>> Hy,
>>
>> Anyone can help to solve this problem, that occurs every I try add a
>> new contact
>> into addressbook.
>
> You try to enter an empty contact to the address book. That doesn't work.
>
>> I use: Horde 2.2.7 + IMP 3.2.6 + Turba 1.2.2
>>
>> Dec 09 09:29:01 HORDE [error] [turba] DB Error: already exists: INSERT INTO
>> turba_objects (object_name, object_email, object_title, object_company,
>> object_homephone, object_workphone, object_cellphone, object_fax,
>> object_homeaddress, object_workaddress, object_notes, owner_id, object_type)
>> VALUES ('2c801179e01d5e5e910a13a4e19d80eb', '', '', '', '', '', '',
>> '', '', '',
>> '', 'vcputtini at consultecnica.com.br', 'Object') [nativecode=1062 **
>> Duplicate
>> entry '' for key 1] [on line 41 of
>> "/srv/www/default/html/horde/turba/addobjectaction.php"
>
> Jan.
>
> In that case yes. But not now. See:
>
> Dec 09 14:30:20 HORDE [error] [turba] DB Error: already exists: INSERT INTO
> turba_objects (object_name, object_email, object_title, object_company,
> object_homephone, object_workphone, object_cellphone, object_fax,
> object_homeaddress, object_workaddress, object_notes, owner_id, object_type)
> VALUES ('49dc2113454712acee7f9fce3ec022bf', 'teste at consultecnica.com.br',
> 'CEO', 'consultecnica', '', '', '', '', '', '', '',
> 'vcputtini at consultecnica.com.br', 'Object') [nativecode=1062 **
> Duplicate entry
> '' for key 1] [on line 41 of
> "/srv/www/default/html/horde/turba/addobjectaction.php"]
>
> Note the first field, object_name. It contain the object_id not a name.

Looks like you have broken sources.php. Make sure that you correctly map the
fields in the 'map' entry for your configured sources.

Jan.

Ok Jan,

I make the corrections into 'map' entry and now the addressbook work very well.

Thanks for your help,

Volnei


----------------------------------------
CONSULTECNICA (www.consultecnica.com.br)
11 4587-2099                  Jundiai/SP


More information about the turba mailing list