6.0.0-beta1
7/31/25

[#1689] Incorrect Links
Summary Incorrect Links
Queue Gollem
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester td (at) homenet (dot) tzo (dot) com
Created 04/05/2005 (7422 days ago)
Due
Updated 04/05/2005 (7422 days ago)
Assigned
Resolved 04/05/2005 (7422 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/05/2005 05:18:32 AM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
Duplicate of Bug 1663.
04/05/2005 03:40:29 AM td (at) homenet (dot) tzo (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Incorrect Links
Queue ⇒ Gollem
Reply to this comment
Using gollem-HEAD-2005-04-04.tar.gz:



I implemented this tonight and found the following:



When clicking on File Manager after first logging in, user gets taken 
to their home directory.



The normal non-linux (unix, etc) user will not know to click on the 
"Change Folder" link at the top and type in / to go to the root 
directory.



Clicking on Change Folder, navigate to any folder on the drive.  For 
example, change to dir foo.  User gets taken to the foo dir.  There is 
no longer a link to back to the / dir.  When clicking on the "Home" 
link at the top, the page tries to take the user to the user's home 
dir under the dir that they are currently in.  example, user is in dir 
foo, clicking on the "Home" link at the top tries to take the user to 
foo/user_home_dir.



My backends.php file:



$backends['file'] = array(

     'name' => 'Virtual Home Directories',

     'driver' => 'file',

     'preferred' => '',

     'root' => '',

     'params' => array(

         // The base location of user home directories.

         'vfsroot' => '/http/vfs/',

         // The name of the current user's home directory.

         'home' => Auth::getAuth()

     ),

     'attributes' => array('type', 'name', 'download', 'modified', 
'size', 'permission', 'owner', 'group')

);



Parsing through Gollem.php and manager.php under the gollem dir, it 
seems as if  the function:



  function getHome()

     {

         return $GLOBALS['gollem_be']['home'];

     }



isn't actually grabbing the user's home or the root home.



Output of debugging:



currdir value from line 186 or manager.php: /Fun Videos/tony



globals gollem_be home value from line 150 of Gollem.php: tony



I'm not sure how to change this to add the "Root" link back to the 
beginning of the path display right next to the refresh icon nor how 
to change the "Home" link at the top of the page to go to the user's 
actual dir or the root dir.



Any help on this would be appreciated.



Thanks,



Antonio DeLaCruz

Saved Queries