[gollem] muvfs question

Christopher Arnold christopher.arnold at tufts.edu
Tue Nov 29 07:37:40 PST 2005


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.
>
>  
>


More information about the gollem mailing list