[gollem] Home directory not below root ?

BioLash biolash at gmail.com
Fri Apr 29 07:38:40 PDT 2005


just like a noob.

<?php
$backends['sql'] = array(
    'name' => 'SQL Server',
    'driver' => 'sql',
    'preferred' => '',

    'params' => array_merge($GLOBALS['conf']['sql'], array('table' => 
'horde_vfs')),

    'loginparams' => array(),
    'attributes' => array('type', 'name', 'download', 'modified', 
'size', 'permission', 'owner', 'group')
);

$backends['file'] = array(
    'name' => 'Virtual Home Directories',
    'driver' => 'file',
    'preferred' => '',
    'params' => array(
        'vfsroot' => '/tmp',
        'home' => Auth::getAuth()
    ),
    'loginparams' => array(),
    'attributes' => array('type', 'name', 'download', 'modified', 
'size', 'permission', 'owner', 'group')
);

These are the 2 backends I'm trying to use. I think that the 'SQL 
Server' needs a 'vfsroot' and 'home' like the 'Virtual Home Dirs'

I updated line 125 in sessions.php to be more informative about what 
happens:

Horde::logMessage(PEAR::raiseError('Home directory ['.$ptr['home'].'] 
not below root ['.Gollem::getRoot().'].'), __FILE__, __LINE__, 
PEAR_LOG_ERR);

this results in the following horde.log error:

Apr 28 19:18:49 HORDE [error] [gollem] Home directory [] not below root 
/. [on line 125 of "C:\Program Files\Apache 
Group\Apache2\htdocs\horde\gollem\lib\Session.php"]



As a side note. Perhaps what I'm considering is better dealt with with 
'wicked'. I'm also going down that path.

TIA


Michael M Slusarz wrote:

>Quoting BioLash <biolash at gmail.com>:
>
>  
>
>>I feel like a n00b.
>>
>>
>>Apr 27 13:15:26 HORDE [error] [gollem] Home directory not below root.
>>[on line 125 of "C:\Program Files\Apache
>>Group\Apache2\htdocs\horde\gollem\lib\Session.php"]
>>
>>
>>I'm sure the problem is in using the dist copy of the backends.php. Can
>>someone push me in the right direction?
>>    
>>
>
>It would help if you posted a copy of your backends.php file.
>
>michael
>
>_______________________________________
>Michael Slusarz [slusarz at curecanti.org]
>  
>



More information about the gollem mailing list