Summary | Class definition of Horde_Vfs_ not found. |
Queue | Gollem |
Queue Version | 2.0-ALPHA2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | michael (at) bigmichi1 (dot) de |
Created | 09/30/2011 (5025 days ago) |
Due | |
Updated | 10/31/2011 (4994 days ago) |
Assigned | 10/11/2011 (5014 days ago) |
Resolved | 10/11/2011 (5014 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Pass VFS instance to Gollem::createFolder().
Using the injector still fails here, so pass the instance created earlier.
Bug: 10690Bug: 105922 files changed, 8 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/2b33284d2a9e595611be0485ec32342c621df024
[jan] Fix usage of createhome parameter (
Bug #10592).2 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/b0846e5a8551f95f84b666c54e02f6736c81789f
Don't try to get VFS instance from injector when creating home dirs.
We created the instance already earlier, and we didn't register the current
backend in the session yet, so using the injector fails anyway.
Bug: 105921 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/22caa5aa102aa13d547385be9528dd579fc9dd20
Assigned to Jan Schneider
included in my sources
bug #10584?New Attachment: backends.local.php
i attach my backends.local.php
if i uncomment the commted line the error about the not found class appears
php.log or horde.log file. i can confirm that both files are readable
by the webserver backends.php and also backends.local.php because in
the detailed stacktrace i see my changes to the vfsroot that point to
my setting.
[Gollem_Factory_Vfs] => Gollem_Factory_Vfs Object
(
[_instances:Gollem_Factory_Vfs:private] => Array
(
[file] => Horde_Vfs_File Object
(
[_permissions:protected] => Array
(
[owner] => Array
(
[read] => 1
[write] => 1
[execute] => 1
)
[group] => Array
(
[read] => 1
[write] => 1
[execute] => 1
)
[all] => Array
(
[read] => 1
[write] => 1
[execute] => 1
)
)
[_params:protected] => Array
(
[user] =>
[vfs_quotalimit] => 1610612736
[vfs_quotaroot] => ****
[vfsroot] => /var/www/data/horde/gollem
[permissions] => 63
[username] => ****
[password] => ****
)
[_credentials:protected] => Array
(
)
[_vfsSize:protected] =>
)
)
[_injector:protected] => Horde_Injector Object
*RECURSION*
)
State ⇒ Feedback
be loaded an no backend is available.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Class definition of Horde_Vfs_ not found.
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
$backends['file'] = array(
'disabled' => false,
'name' => 'Virtual Home Directories',
'driver' => 'file',
'preferred' => '',
'hordeauth' => false,
'params' => array(
// The base location under which the user home directories live.
'vfsroot' => '/var/www/data/horde/gollem',
// The default permissions to set for newly created folders and files.
'permissions' => $GLOBALS['conf']['umask']
),
'loginparams' => array(),
'root' => $GLOBALS['registry']->getAuth(),
'home' => $GLOBALS['registry']->getAuth(),
'createhome' => true,
// 'filter' => '^regex$',
'quota' => '1.5 GB',
'clipboard' => true,
'attributes' => array('type', 'name', 'edit', 'download',
'modified', 'size', 'permission', 'owner', 'group')
);
and when i now authenticate to gollem i got this stacktrace:
Ein schwerer Fehler ist aufgetreten:
Class definition of Horde_Vfs_ not found.
1. Horde_Core_Auth_Application->authenticate() /var/www/horde4/login.php:151
2. Horde_Auth_Base->authenticate()
/var/www/pear/php/Horde/Core/Auth/Application.php:132
3. Horde_Core_Auth_Application->_authenticate()
/var/www/pear/php/Horde/Auth/Base.php:146
4. Horde_Registry->callAppMethod()
/var/www/pear/php/Horde/Core/Auth/Application.php:161
5. call_user_func_array() /var/www/pear/php/Horde/Registry.php:1081
6. Gollem_Application->authAuthenticate()
7. Gollem_Auth::authenticate() /var/www/horde4/gollem/lib/Application.php:154
8. Horde_Injector->getInstance() /var/www/horde4/gollem/lib/Auth.php:168
9. Horde_Injector->createInstance() /var/www/pear/php/Horde/Injector.php:248
10. Horde_Injector_Binder_Factory->create()
/var/www/pear/php/Horde/Injector.php:213
11. Gollem_Factory_VfsDefault->create()
/var/www/pear/php/Horde/Injector/Binder/Factory.php:111
12. Gollem_Factory_Vfs->create()
/var/www/horde4/gollem/lib/Factory/VfsDefault.php:36
13. Horde_Vfs::factory() /var/www/horde4/gollem/lib/Factory/Vfs.php:65