[dev] Left Frame Menu missing ...
Marc G. Fournier
scrappy at hub.org
Tue Sep 28 07:23:01 PDT 2004
On Mon, 27 Sep 2004, Chuck Hagenbuch wrote:
> Quoting "Marc G. Fournier" <scrappy at hub.org>:
>
>> like this?
>
> Yes, like that.
>
>> Error: this.node_pos[nodeId] has no properties
>> Source File:
>> http://wired.hub.org/services/javascript.php?file=tree.js&app=horde
>> Line: 285
>
> Is is possible that you have a menu_parent set in config/registry.php that no
> longer corresponds to a valid entry?
Highly unlikely, unless there is an error in the .dist file itself ... for
most of the config files, to update, I edit the .dist file and copy in
settings changes from my original ... in registry.php's case, that means
changing various 'status's to inactive, but that is it ... oh, and maybe
changing $webroot if it isn't detecting mine properly ...
ganymede# rm registry.php.dist
ganymede# cvs -q update -APd .
M hooks.php.dist
M mime_drivers.php.dist
cvs update: warning: registry.php.dist was lost
U registry.php.dist
ganymede# diff registry.php.dist registry.php | grep -v status
5c5
< * $Horde: horde/config/registry.php.dist,v 1.240 2004/09/27 09:03:18 jan Exp $
---
> * $Horde: horde/config/registry.php.dist,v 1.239 2004/09/24 19:33:44 marcus Exp $
41,47c41,43
< if (isset($_SERVER['PHP_SELF'])) {
< $webroot = strstr(dirname(__FILE__), '/' . array_shift(preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY)));
< if ($webroot !== false) {
< $webroot = preg_replace(';/config$;', '', $webroot);
< } else {
< $webroot = '/horde';
< }
---
> $webroot = dirname(dirname(__FILE__));
> if (!empty($_SERVER['DOCUMENT_ROOT'])) {
> $webroot = str_replace($_SERVER['DOCUMENT_ROOT'], '', $webroot);
49c45
< $webroot = '/horde';
---
> $webroot = '/' . basename($webroot);
230c226
---
239c235
---
311c307
---
339c335
---
388c384
---
406c402
---
416c412
---
434c430
---
450c446
---
460c456
---
479c475
---
488c484
---
506c502
---
525c521
---
534c530
---
553c549
---
===========
And ...
ganymede# grep menu_parent registry.php
* menu_parent string The name of the 'heading' group that this app
should
'menu_parent' => 'imp',
'menu_parent' => 'imp'
'menu_parent' => 'imp'
'menu_parent' => 'imp'
'menu_parent' => 'imp'
'menu_parent' => 'organizing'
'menu_parent' => 'organizing'
'menu_parent' => 'kronolith',
'menu_parent' => 'organizing'
'menu_parent' => 'organizing'
'menu_parent' => 'organizing'
'menu_parent' => 'organizing'
'menu_parent' => 'devel'
'menu_parent' => 'devel'
'menu_parent' => 'devel'
'menu_parent' => 'devel'
'menu_parent' => 'devel'
'menu_parent' => 'devel'
'menu_parent' => 'info'
'menu_parent' => 'info'
'menu_parent' => 'info'
'menu_parent' => 'info'
'menu_parent' => 'info'
'menu_parent' => 'info'
'menu_parent' => 'office',
'menu_parent' => 'office'
'menu_parent' => 'office'
'menu_parent' => 'myaccount'
'menu_parent' => 'myaccount'
'menu_parent' => 'myaccount'
'menu_parent' => 'myaccount'
'menu_parent' => 'myaccount'
'menu_parent' => 'myaccount'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
'menu_parent' => 'website'
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org Yahoo!: yscrappy ICQ: 7615664
More information about the dev
mailing list