[turba] Problem upgrading from 2.1 to 2.2

Chuck Hagenbuch chuck at horde.org
Wed Jan 2 05:14:42 UTC 2008


Quoting Josh Endries <josh at endries.org>:

> Jan  1 15:53:01 www php: PHP Notice:  Undefined property:
> Horde_Share_datatree::$_storage in
> /var/www/horde-3.2-rc1/turba/scripts/upgrades/2007-06-17_flatten_shares.php  
> on
> line 48
> Jan  1 15:53:01 www php: PHP Notice:  Trying to get property of non-object in
> /var/www/horde-3.2-rc1/turba/scripts/upgrades/2007-06-17_flatten_shares.php  
> on
> line 49
> Jan  1 15:53:01 www php: PHP Fatal error:  Call to a member function  
> getAssoc()
> on a non-object in
> /var/www/horde-3.2-rc1/turba/scripts/upgrades/2007-06-17_flatten_shares.php  
> on
> line 53
>
> The code is:
>
> $primary_source = $sourceTypes[0];
> $datatree = $turba_shares->_storage;
> $db = $datatree->_db;

Thank you for this report! The middle line should be:

$datatree = $turba_shares->_datatree;

I've fixed this in CVS for the next RC.

-chuck


More information about the turba mailing list