6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/2/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11610] config/registry.php fails to detect horde installation path
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ . .__..___ | |[__)| [__][__ |__\[__)|___| ||
Comment
> Hi, > > horde/config/registry.php of H5 fails to detect my horde installation > path correctly. > At least it does not list any apps after logging in. I've always > worked around this > with a simple tweak in registry.php and totally forgot about it: > > ------------- > # Fix root directory > $app_fileroot = '/usr/intranator/html/horde'; > ------------- > > I tried to add debug code to dump the "$app_fileroot" > but it's not set in registry.php yet. > > Also the example $app_fileroot path > "$app_fileroot = __DIR__ . '../';" > seems broken to me since "__DIR__" does not contain a slash at the end. > > > Here's my debug code I've added so far: > ------------------------------------ > diff --git a/horde/config/registry.php b/horde/config/registry.php > index 16e0f61..d899706 100644 > --- a/horde/config/registry.php > +++ b/horde/config/registry.php > @@ -66,8 +66,15 @@ > // If your applications live in a different base directory, defining these > // variables will change the default directory without the need to change > // every application's 'fileroot'/'webroot' settings. > -// $app_fileroot = __DIR__ . '../'; > -// $app_webroot = $this->_detectWebroot(); > + > +$app_fileroot = __DIR__ . '../'; > +$app_webroot = $this->_detectWebroot(); > +$fp = fopen("/tmp/debug_reg.log", "a"); > +fprintf($fp, "app_fileroot: $app_fileroot, app_webroot: $app_webroot\n"); > + > +# Fix root directory > +$app_fileroot = '/usr/intranator/html/horde'; > + > > $this->applications = array( > 'horde' => array( > ------------------------------------ > > How does the auto detection work normally? > > Thomas >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers