Re: muvfs question

Christopher Arnold <[email protected]>
Newsgroups gmane.comp.horde.gollem
Organization Tufts University
Message-ID <[email protected]>
So close...

To test, I now have one backend in my .../horde/gollem/config/backends.php:

require HORDE_BASE . '/lib/Horde/Group.php';

$backends['file'] = array(
    'name' => 'Reports',
    'driver' => 'file',
    'preferred' => '',
    'hordeauth' => false,
    'params' => array(
        // The base location under which the user home directories live.
        'vfsroot' => '/usr/local/apache/htdocs/vfs',
    ),
    'loginparams' => array(),
    'root' => '/',
    'home' => Group::getGroupMemberships(Auth::getAuth()) . '/Reports',
    'createhome' => false,
    'filter' => '^regex$',
    'attributes' => array('type', 'name', 'download', 'modified',
'size', 'permission', 'owner', 'group')
);

Unfortunately, there are PHP errors in the Apache logs like:

[client 127.0.0.1] PHP Fatal error:  Undefined class name 'group' in
/usr/local/apache/htdocs/private/horde/config/motd.php on line 10,
referer: https://localhost/horde/services/portal/
[client 127.0.0.1] PHP Fatal error:  Call to a member function on a
non-object in /usr/local/apache/htdocs/private/horde/lib/Horde/Group.php
on line 350, referer: https://localhost/horde/index.php

Line 350 in my
/usr/local/apache/htdocs/private/horde/lib/Horde/Group.php is:

$groups = $this->_datatree->getByAttributes($criteria);

in the getGroupMemberships function.  It LOOKs like it should work.  Any
other pearls of wisdom?

-CMA

Jan Schneider wrote:

> <snip>
>
>Use the Group API instead, e.g. Group::getGroupMemberships(Auth::getAuth()).
>
>Jan.
>
>  
>
-- 
Gollem mailing list - Join the hunt: http://horde.org/bounties/#gollem
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.