[Tickets #11746] Re: [gollem] Class definition of Horde_Vfs_ not found.
bugs at horde.org
bugs at horde.org
Tue Nov 27 21:10:18 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11746
------------------------------------------------------------------------------
Ticket | 11746
Updated By | max at mxnet.co.nz
Summary | [gollem] Class definition of Horde_Vfs_ not found.
Queue | Gollem
Version | 3.0.0beta1
Type | Bug
State | Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
max at mxnet.co.nz (2012-11-27 21:10) wrote:
>> Is this related to the way Gollem opens files based on the content or
>> because Viewing files is different to Save/Download files. It seems
>> unusual that Download icon in Gollem gives error and using browser to
>> click filename > Save As - also gives error.
Many thanks for clearing this information up. I appreciate all your help.
I have now updated to Horde 5.0.2 and also Gollem to 3.0.0RC1 and I
still receive the error. I changed logging and can see a new line
being logged which I don't remember before.
NEW! Nov 28 09:38:53 www HORDE: [gollem] Invalid backend key "ftp"
from client [192.168.0.168] [pid 4286 on line 234 of
"/var/www/horde/gollem/lib/Auth.php"]
Nov 28 09:38:53 www HORDE: [horde] Class definition of Horde_Vfs_ not
found. [pid 4286 on line 43 of "/usr/share/php/Horde/Vfs.php"]
NEW! Nov 28 09:42:26 www HORDE: [gollem] Invalid backend key "smb"
from client [192.168.0.168] [pid 4286 on line 234 of
"/var/www/horde/gollem/lib/Auth.php"]
Nov 28 09:42:26 www HORDE: [horde] Class definition of Horde_Vfs_ not
found. [pid 4286 on line 43 of "/usr/share/php/Horde/Vfs.php"]
So I am getting the same Horde error for either ftp or smb backend but
gollem logging says invalid backend for either
I then started going back in time to the changes I had made and what I
said in the first place.
The differences I had until now from the old Horde 4, I was only using
one backend simply called 'smb'. Since the release of Horde 5 and the
brilliant new interface, I decided to add more backends to other smb
shares and gathered together multiple servers into one nice File
Manager with a list of shares/backends down the side.
It appears that in my backends.local.php if I defined two backend
servers with the same backend key then the last backend would
overwrite the previous one. so I would only end up with one backend
shown in the gollem UI.
here's an example.
$backends['smb-home'] = array(
'disabled' => false,
'name' => 'YOUR HOME FOLDER',
'driver' => 'smb',
'hordeauth' => true,
'params' => array(
'hostspec' => 'debian',
'port' => 139,
'share' => 'homes',
'smbclient' => '/usr/bin/smbclient',
),
);
$backends['smb-public'] = array(
'disabled' => false,
'name' => 'PUBLIC FOLDERS',
'driver' => 'smb',
'hordeauth' => true,
'params' => array(
'hostspec' => 'debian',
'port' => 139,
'share' => 'public',
'smbclient' => '/usr/bin/smbclient',
),
);
If I remove all backends except one and name the backend key simply
'smb' then the download option works like this:
$backends['smb'] = array(
'disabled' => false,
'name' => 'YOUR HOME FOLDER',
'driver' => 'smb',
'hordeauth' => true,
'params' => array(
'hostspec' => 'debian',
'port' => 139,
'share' => 'homes',
'smbclient' => '/usr/bin/smbclient',
),
);
It would appear that if I use any other backend name that is NOT 'ftp'
or 'smb' then it doesn't work. Am I doing something wrong here when
adding multiple backends?
backend key named 'smb' works
backend key named 'ftp' works
backend key names 'sql' works
backend key named 'hordeftp' NOT WORKING (I used this key in the
supplied example that is in the file backends.php)
backend key names 'anythingelse' NOT WORKING.
More information about the bugs
mailing list