<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>fatal error clicking &#039;file manager&#039; button: no class VFS_</title> 
  <pubDate>Thu, 09 Apr 2026 22:17:59 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7664</link> 
  <atom:link rel="self" type="application/rss+xml" title="fatal error clicking &#039;file manager&#039; button: no class VFS_" href="https://bugs.horde.org/ticket/7664/rss" /> 
  <description>fatal error clicking &#039;file manager&#039; button: no class VFS_</description> 
 
   
   
  <item> 
   <title>Horde 3.2 , Framework_3 , gollem head of 2008/11/11 - 

a vi</title> 
   <description>Horde 3.2 , Framework_3 , gollem head of 2008/11/11 - 

a view backends (ssh2 and smb) are defined in our case.



Selecting the file manager icon before clicking any of the different backend

icons fatal error is thrown because there is no class VFS_ driver in the VFS.

See the attached screenshot please.



If i first select one of the backends it works as expected - if i click on the file manager

icon afterwards the &#039;file manager login&#039; appears.

 

There should be a default backend, propably the first defined ... all backends have

full horde authentication enabled in our case - so it is not nessessary to request any

extra credentials.

</description> 
   <pubDate>Tue, 11 Nov 2008 11:49:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t50648</link> 
  </item> 
   
  <item> 
   <title>And your backends file correctly defines the driver for the </title> 
   <description>And your backends file correctly defines the driver for the default entry?  That&#039;s the only way I can see to cause this error (VFS is trying to load with a driver named &#039;&#039; or null).</description> 
   <pubDate>Wed, 12 Nov 2008 00:35:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t50675</link> 
  </item> 
   
  <item> 
   <title>&gt; And your backends file correctly defines the driver for th</title> 
   <description>&gt; And your backends file correctly defines the driver for the default 

&gt; entry?  That&#039;s the only way I can see to cause this error (VFS is 

&gt; trying to load with a driver named &#039;&#039; or null).



My backend file is very complicated because i have to compute the pathes for home on the different smb shares for each authenticated user in order to define the backend entries for the session in a loop afterwarts.



As far as i understand, if choosing not to use the backend list the default backend should be the first defined backend. I can&#039;t find an option to define one of the backends which should be the default other than this. If i am wrong i shurely should  post this request on to the gollem list </description> 
   <pubDate>Wed, 12 Nov 2008 06:22:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t50678</link> 
  </item> 
   
  <item> 
   <title>&gt; As far as i understand, if choosing not to use the backend</title> 
   <description>&gt; As far as i understand, if choosing not to use the backend list the 

&gt; default backend should be the first defined backend.



Correct. But it appears that backend is missing a valid &#039;driver&#039; configuration.



&gt; I can&#039;t find an 

&gt; option to define one of the backends which should be the default 

&gt; other than this.



&#039;preferred&#039; parameter.</description> 
   <pubDate>Fri, 14 Nov 2008 20:38:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t50752</link> 
  </item> 
   
  <item> 
   <title>&gt; Correct. But it appears that backend is missing a valid &#039;d</title> 
   <description>&gt; Correct. But it appears that backend is missing a valid &#039;driver&#039; 

&gt; configuration.



&gt; &#039;preferred&#039; parameter.



I tried to set the preferred parameter to the hostname of the fist entry - but the

problem still remains. i attach the config file without a lot of inline php and with

commends instead.  BTW the backend configuration works - this problem only

happens if i click onto the button &#039;fileserver&#039; (not selecting a backend) before i

select a backend.



The error messages in /var/log/php5 are:



[17-Nov-2008 13:26:26] PHP Notice:  Undefined index:  backend_key in /var/www/html/horde/gollem/redirect.php on line 66

[17-Nov-2008 13:26:27] PHP Notice:  Undefined index:  gollem_backends in /var/www/html/horde/gollem/lib/Gollem.php on line 667

[17-Nov-2008 13:26:27] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/horde/gollem/lib/Gollem.php on line 6

67

[17-Nov-2008 13:26:27] PHP Notice:  Undefined index:  backend_key in /var/www/html/horde/gollem/lib/Auth/gollem.php on line 99

[17-Nov-2008 13:26:27] PHP Notice:  Undefined index:  gollem_backends in /var/www/html/horde/gollem/lib/Gollem.php on line 982

[17-Nov-2008 13:26:27] PHP Warning:  VFS::include_once(VFS/.php) [&lt;a href=&#039;function.VFS-include-once&#039;&gt;function.VFS-include-once&lt;/a&gt;

]: failed to open stream: Datei oder Verzeichnis nicht gefunden in /var/www/html/horde/lib/VFS.php on line 1061

[17-Nov-2008 13:26:27] PHP Warning:  VFS::include_once() [&lt;a href=&#039;function.include&#039;&gt;function.include&lt;/a&gt;]: Failed opening &#039;VFS/.ph

p&#039; for inclusion (include_path=&#039;/var/www/html/horde/lib:.:/usr/local/lib/php&#039;) in /var/www/html/horde/lib/VFS.php on line 1061

[17-Nov-2008 13:26:27] PHP Warning:  Missing argument 2 for Horde::fatal(), called in /var/www/html/horde/gollem/lib/Auth/gollem.ph

p on line 101 and defined in /var/www/html/horde/lib/Horde.php on line 184

[17-Nov-2008 13:26:27] PHP Warning:  Missing argument 3 for Horde::fatal(), called in /var/www/html/horde/gollem/lib/Auth/gollem.ph

p on line 101 and defined in /var/www/html/horde/lib/Horde.php on line 184

[17-Nov-2008 13:26:27] PHP Notice:  Undefined variable: line in /var/www/html/horde/lib/Horde.php on line 225

[17-Nov-2008 13:26:27] PHP Notice:  Undefined variable: file in /var/www/html/horde/lib/Horde.php on line 225



</description> 
   <pubDate>Mon, 17 Nov 2008 12:35:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t50796</link> 
  </item> 
   
  <item> 
   <title>I really have no clue.  These lines:

[17-Nov-2008 13:26:26]</title> 
   <description>I really have no clue.  These lines:

[17-Nov-2008 13:26:26] PHP Notice:  Undefined index:  backend_key in 

/var/www/html/horde/gollem/redirect.php on line 66

...

[17-Nov-2008 13:26:27] PHP Notice:  Undefined index:  backend_key in 

/var/www/html/horde/gollem/lib/Auth/gollem.php on line 99



indicate that $_SESSION[&#039;gollem&#039;] is set, but the only place where $_SESSION[&#039;gollem&#039;] is set is in lib/Session.php, and in that function we *always* set &#039;backend_key&#039;.  And we do automatically select the first backend key as the default if no &#039;preferred&#039; value is set.  So you will have to do further debugging to discover where $_SESSION[&#039;gollem&#039;] is being set.  I can&#039;t reproduce this at all.</description> 
   <pubDate>Sun, 07 Dec 2008 19:19:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t51110</link> 
  </item> 
   
  <item> 
   <title>I found the problem as i think:



It&#039;s an IE bug again.(i t</title> 
   <description>I found the problem as i think:



It&#039;s an IE bug again.(i test it under IE7). under opera and FF this function works well.



I do not follow back the error but find some things:



1. in IE we have a $SESSION[&#039;gollem&#039;] array always:

Array

(

    [backends] =&gt; Array

        (

        )



    [selectlist] =&gt; Array

        (

        )



    [backend_key] =&gt; 

)

under opera and ff we have no $SESSION[&#039;gollem&#039;] array in this case.



2. This cause the error in the redirect.php:

this if is always true if we go with IE:



if (isset($_SESSION[&#039;gollem&#039;]) &amp;&amp;

    is_array($_SESSION[&#039;gollem&#039;]) &amp;&amp;

    ($_SESSION[&#039;gollem&#039;][&#039;backend_key&#039;] == $backend_key)) {



and this try redirect us to the gollem/manager.php and this cause the error.



3. we set up the SESSION in the lib/base.php in this line:

    $registry = &amp;Registry::singleton();



4. i do not follow back the error more - sorry limited time :-/



my solution is in redirect.php - line 64-66

version:

* $Horde: gollem/redirect.php,v 1.74 2009-01-06 17:50:05 jan Exp $





old one:

if (isset($_SESSION[&#039;gollem&#039;]) &amp;&amp;

    is_array($_SESSION[&#039;gollem&#039;]) &amp;&amp;

    ($_SESSION[&#039;gollem&#039;][&#039;backend_key&#039;] == $backend_key)) {



new one:

if (isset($_SESSION[&#039;gollem&#039;]) &amp;&amp;

    is_array($_SESSION[&#039;gollem&#039;]) &amp;&amp;

    ($_SESSION[&#039;gollem&#039;][&#039;backend_key&#039;] == $backend_key) &amp;&amp;

    !empty($_SESSION[&#039;gollem&#039;][&#039;backends&#039;])

    ) {



i&#039;m not sure this patch is good in all case.

</description> 
   <pubDate>Mon, 26 Jan 2009 14:43:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t51963</link> 
  </item> 
   
  <item> 
   <title>This doesn&#039;t make any sense to me, since the browser has abs</title> 
   <description>This doesn&#039;t make any sense to me, since the browser has absolutely no influence on what is being stored in the *server* session.</description> 
   <pubDate>Thu, 29 Jan 2009 10:58:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7664#t52060</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
