[turba] Flatten shares script failing (upgrading)

Jan Schneider jan at horde.org
Fri Mar 27 17:40:41 UTC 2009


Zitat von Markku Virtanen <cahva at po-rno.fi>:

> Hi,
>
> We have installed the latest Horde webmail edition and transformed  
> old horde/turba/etc. database to new one. Only problem we have right  
> now is that additional addressbooks dont work for ous customers and  
> we need to run 2007-06-17_flatten_shares.php script but  
> unfortunately it doesnt work. Error is:
>
> Fatal error: Call to a member function getAssoc() on a non-object in  
> ***/horde/turba/scripts/upgrades/2007-06-17_flatten_shares.php on  
> line 53
>
> This is (sort of)the same problem that was here:
> http://osdir.com/ml/horde.turba/2008-01/msg00002.html
>
> But offcourse script is the updated version already.
>
> Little debugging shows that line:
> $datatree = $turba_shares->_datatree;
>
> var_dump($datatree);
>
> ..it gives NULL
>
>
> Database schema and other upgrades have been done so I think maybe  
> there has been some changes in the underlying code that breaks this  
> upgrade script. Any thoughts?

You have to run the flatten shares script *before* migration shares  
from datatree to sql.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list