[Kolab-devel] Horde Webmailer

Stefan Gohmann gohmann at univention.de
Fri Oct 20 06:37:47 CEST 2006


Am Donnerstag, 19. Oktober 2006 16:22 schrieb Gunnar Wrobel:
> > Thanks for the bug link. I'll test your new share driver.
>
> Cool. It might not match the current release, though. I plan to move
> to horde cvs next week and the patch will get updated then.

I've tested the patches from your website 
http://projects.pardus.de/kolab/browser/horde-cvs/patches for the Horde 3.1.3 
release
- framework-3.1.2_shares.patch 
- horde-3.1.2_shares.patch
- kronolith-2.1.2_error.patch
- kronolith-2.1.2_shares.patch
- mnemo-2.1_shares.patch
- nag-2.1.1_shares.patch
- turba-2.1.1_shares.patch


After my first log in, I got a few errors:
Notice: Use of undefined constant app - assumed 'app' 
in /usr/share/horde3/lib/Horde/Share/datatree.php on line 75

Notice: Use of undefined constant app - assumed 'app' 
in /usr/share/horde3/lib/Horde/Share/datatree.php on line 75

Fatal error: Call to undefined function: getid() 
in /usr/share/horde3/lib/Horde/Share.php on line 411

I added a local var $_app in the datatree.php but I don't know if it is 
correct:
diff  lib/Horde/Share/datatree.php.orig lib/Horde/Share/datatree.php
47a48,49
>     var $_app;
>
55c57
<       parent::Horde_Share($app);
---
>       $this->_app = parent::Horde_Share($app);
72c74
<             array_merge(Horde::getDriverConfig('datatree', $driver), 
array('group' => 'horde.shares.' . app))
---
>             array_merge(Horde::getDriverConfig('datatree', $driver), 
array('group' => 'horde.shares.' . $this->_app))

The next error was:

Fatal error: Call to a member function on a non-object 
in /usr/share/horde3/lib/Horde/Share.php on line 330

The line 330 from the /usr/share/horde3/lib/Horde/Share.php:
$shares = $this->_datatree->getObjects($missing_ids, $this->_storageObject);

Otherwise I didn't find the "_datatree" object in the Share.php script.

Cheers
Stefan


-- 
Stefan Gohmann     <gohmann at univention.de>       fon: +49 421 22 232- 0
Entwicklung        Linux for Your Business
Univention GmbH    http://www.univention.de/     fax: +49 421 22 232-99




More information about the devel mailing list