[turba] Unable to delete contacts from Personal Address Book, no errors.

Michael Rubinsky mike at theupstairsroom.com
Thu Nov 30 13:54:00 PST 2006


Quoting Adam Tauno Williams <adam at morrison-ind.com>:

> Horde: 3.1.1 Turba: H3 (2.1.1) PHP: 5.0.4 Apache: 2.2.0-21
>
> When deleting a contact from my "Personal Address Book" which is the
> standard Turba table in a PostgreSQL 8.x database the contact is not
> deleted; I'm bounced to the browse.php page and presented with a "There
> are no browseable address books." message.
>
> I have both PHP and Horde logging enabled.
>
> Horde reports -
> Nov 28 14:14:43 HORDE [debug] [turba] Hook _horde_hook_share_init in
> application horde not called. [on line 1471 of
> "/srv/www/htdocs/horde/lib/Horde.php"]
> Nov 28 14:14:43 HORDE [debug] [turba] SQL Query by
> DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents
> FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY
> datatree_id [on line 261 of
> "/srv/www/htdocs/horde/lib/Horde/DataTree/sql.php"]
> Nov 28 14:14:43 HORDE [debug] [turba] SQL Query by
> DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name,
> c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE
> c.group_uid = 'horde.perms'  [on line 130 of
> "/srv/www/htdocs/horde/lib/Horde/DataTree/sql.php"]
> Nov 28 14:14:43 HORDE [debug] [turba] SQL Query by
> DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents
> FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY
> datatree_id [on line 261 of
> "/srv/www/htdocs/horde/lib/Horde/DataTree/sql.php"]
> Nov 28 14:14:43 HORDE [debug] [turba] SQL Query by
> DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name,
> c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE
> c.group_uid = 'horde.perms'  [on line 130 of
> "/srv/www/htdocs/horde/lib/Horde/DataTree/sql.php"]
>  ... These queries go on for awhile, but all look the same.
>  - during this option and the PHP log reports nothing.
>
> PHP error logging configuration is:
> log_errors = On
> error_log = /srv/www/htdocs/phperrors.log
> error_reporting = E_ERROR | E_WARNING | E_PARSE | E_NOTICE |
> E_USER_ERROR | E_USER_WARNING
> warn_plus_overloading = true
> display_errors = false
>
> I can create and update contacts without incident.  I tried adding a new
> contact and deleting it immediately and that failed as well.  Updating
> that contact worked.

Sorry it took a bit to get to this. Are you still having this issue?   
I cannot reproduce this so I'm not sure what is going on with your  
install.

Let's start with some more info. You say it's the 'standard' turba  
table.  Are you using the 'out of the box' example source 'localsql'  
in sources.php for this  source?  Are you using it with 'use_shares'  
enabled?  Any other changes made to the $cfgSources entry, like  
setting 'browseable' => false?

Did you change anything funky with permission settings? Either in  
Administraion->Permissions or via the My Address Books page?

Does the error you get say *only* "There are no browseable address  
books or does it also say "There was an error deleting this contact"?


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2013 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/turba/attachments/20061130/e3bc4dfa/attachment.bin


More information about the turba mailing list