[gollem] Missing leading slash in sqlhome VFS

Rob Rosenfeld rob at rosenfeld.to
Thu Aug 18 18:45:19 PDT 2005


I just synced to CVS head today and Gollem no longer shows the files 
it's holding.  My backends.php is below.  Browsing the horde_vfs table 
after uploading a new test file that did appear, I notice a change. 

New entries in the vfs_path table have no leading slash, but the old 
missing entries do.  For example, I have
old:  vfs_path = /home     
new:  vfs_path = home

I also have some entries where vfs_path is empty, which I'm guessing is 
from the bug we read about on the list.  Can you help me correct the 
error so that my old documents display?


$backends['sqlhome'] = array(
    'name' => 'SQL Server with home',
    'driver' => 'sql',
    'preferred' => '',
    'hordeauth' => false,
    'params' => array_merge($GLOBALS['conf']['sql'], array('table' => 
'horde_vfs')),
    'loginparams' => array(),
    'attributes' => array('type', 'name', 'download', 'modified', 
'size', 'permission', 'owner', 'group'),
    'root' => '/home',
    'home' => '/home/' . Auth::getAuth(),
    'createhome' => true
);




More information about the gollem mailing list