6.0.0-alpha14
7/3/25

[#10592] Class definition of Horde_Vfs_ not found.
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

History
10/31/2011 03:14:09 PM Git Commit Comment #10 Reply to this comment
Changes have been made in Git for this ticket:

Pass VFS instance to Gollem::createFolder().
Using the injector still fails here, so pass the instance created earlier.

Bug: 10690
Bug: 10592

  2 files changed, 8 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/2b33284d2a9e595611be0485ec32342c621df024
10/11/2011 09:43:22 AM Jan Schneider State ⇒ Resolved
 
10/11/2011 09:43:18 AM Git Commit Comment #9 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Fix usage of createhome parameter (Bug #10592).

  2 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/b0846e5a8551f95f84b666c54e02f6736c81789f
10/11/2011 09:43:13 AM Git Commit Comment #8 Reply to this comment
Changes have been made in Git for this ticket:

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: 10592

  1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/22caa5aa102aa13d547385be9528dd579fc9dd20
10/11/2011 09:09:31 AM Jan Schneider State ⇒ Assigned
Assigned to Jan Schneider
 
10/10/2011 05:22:50 PM michael (at) bigmichi1 (dot) de Comment #7 Reply to this comment
i don't think it's a duplicate because the changes from 10584 i 
included in my sources
10/10/2011 05:18:01 PM Jan Schneider Comment #6 Reply to this comment
Duplicate of bug #10584?
10/10/2011 04:58:41 PM michael (at) bigmichi1 (dot) de Comment #5
New Attachment: backends.local.php Download
Reply to this comment
ok i think i found the option that causes the error.

i attach my backends.local.php
if i uncomment the commted line the error about the not found class appears
10/10/2011 03:43:20 PM Jan Schneider Comment #4 Reply to this comment
Cannot reproduce, whether hordeauth is enabled or not.
10/01/2011 05:26:27 AM michael (at) bigmichi1 (dot) de Comment #3 Reply to this comment
in the log files i can't see any error about that in my webserver.log, 
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*
                                                         )

09/30/2011 08:50:06 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Check your log files. This might happen if backends(.local).php cannot 
be loaded an no backend is available.
09/30/2011 07:12:35 PM michael (at) bigmichi1 (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Class definition of Horde_Vfs_ not found.
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
i configured gollem to use the file backend and disabled all other backends:

$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

Saved Queries