[turba] Disappearing contacts from all the personal address books

Andras Galos galosa at netinform.hu
Thu Nov 29 20:03:38 UTC 2007


Michael Rubinsky wrote:
> Hmm. Well, *something* had to have changed...

Yes. I am sure something had changed but verified everything including 
OS package upgrades, Apache reloads, PEAR or PECL upgrades, and 
everything I could imagine. There were no change that could cause this. 
There were some package updates, but days before the issue, and with 
samba, not with PHP, Apache or MySQL. No Apache or MySQL restart or 
reload, nothing.
The first calls arrived yesturday like lightning from a clean sky.


> and is very strange as some 
> of the things you are describing could be explained from upgrading 
> Turba, but failing to run some of the upgrade scripts.  Anyway, since 
> you said you did *not* upgrade Turba, I would suggest trying to turn off 
> share use and see if that gets your addresses back to start.

If I turn off use_shares in Turba's sources.php, some very old entries 
get back. But the previous entries are missing I made a few weeks ago to 
test a sorting issue. They are missing whether use_shares is true or false.


> (Did you 
> just recently enable shares, or refresh your sources.php file?)

My previous sources.php was from January 2007 with 'use_shares' => true 
in it. After this issue I examined the new prefs.php.dist file against 
my prefs.php, and seeing no important changes I copied prefs.php.dist to 
prefs.php and removed everything expect the localsql section from it. No 
change.


The difference between prefs.php.dist (which is my current prefs.php 
with only the localsql section in it) and the old prefs.php 
(prefs.php.old1), there is no real difference:
diff -u prefs.php.dist prefs.php.old1
--- prefs.php.dist      2007-06-29 19:48:38.000000000 +0200
+++ prefs.php.old1      2006-12-13 17:32:21.000000000 +0100
@@ -1,6 +1,6 @@
  <?php
  /**
- * $Horde: turba/config/prefs.php.dist,v 1.28.10.4 2007/06/29 17:48:38 
chuck Exp $
+ * $Horde: turba/config/prefs.php.dist,v 1.28.10.3 2006/12/13 16:32:21 
chuck Exp $
   *
   * See horde/config/prefs.php for documentation on the structure of 
this file.
   */
@@ -141,6 +141,8 @@
      'desc' => _("This will be the default address book when adding or 
importing contacts."),
  );

+// Advanced search results placement. Are results positioned above or below
+// the search form?
  // preference for holding any preferences-based addressbooks.
  $_prefs['prefbooks'] = array(
      'value' => '',



Best regards,
Andras Galos



More information about the turba mailing list