[nag] Problem Getting Nag 0.0.1 Running

Paul Black paulb@triode.net.au
Wed, 30 Jan 2002 18:41:11 +1100


Yes, I do have a 'horde' section in registry.php. And Imp and Turba
work fine. Its only with Nag 0.0.1 that I'm getting the Undefined
Index warnings.

Warning: Undefined index: horde in /usr/local/httpd/docs/horde/nag/templates/menu/menu.inc on line 15

Here is part of my registry.php


$this->applications['horde'] = array(
     'fileroot' => dirname(__FILE__) . '/..',
     'webroot' => '/horde',
     'initial_page' => 'login.php',
     'icon' => '/horde/graphics/home.gif',
     'name' => _("Horde"),
     'allow_guests' => false,
     'show' => true,
     'templates' => dirname(__FILE__) . '/../templates',
     'cookie_domain' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
     'cookie_path' => '/horde',
     'server_name' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
     'server_port' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']
);

  $this->applications['imp'] = array(
      'fileroot' => dirname(__FILE__) . '/../imp',
      'webroot' => $this->applications['horde']['webroot'] . '/imp',
      'icon' => '/horde/imp/graphics/imp.gif',
      'name' => _("Mail"),
      'allow_guests' => false,
      'show' => true
  );

  $this->applications['nag'] = array(
      'fileroot' => dirname(__FILE__) . '/../nag',
      'webroot' => $this->applications['horde']['webroot'] . '/nag',
      'icon' => '/horde/nag/graphics/nag.gif',
      'name' => _("Tasks"),
      'allow_guests' => false,
      'show' => true
  );


  $this->applications['turba'] = array(
      'fileroot' => dirname(__FILE__) . '/../turba',
      'webroot' => $this->applications['horde']['webroot'] . '/turba',
      'icon' => '/horde/turba/graphics/turba.gif',
      'name' => _("Addressbook"),
      'allow_guests' => false,
      'show' => true
  );

// $this->applications['chora'] = array(
//     'fileroot' => dirname(__FILE__) . '/../chora',
//     'webroot' => $this->applications['horde']['webroot'] . '/chora',
//     'icon' => '/horde/chora/graphics/chora.gif',
//     'name' => _("CVS"),
//     'allow_guests' => true,
//     'show' => false
// );





Chuck Hagenbuch wrote:
> Quoting Paul Black <paulb@triode.net.au>:
> 
> 
>>Now Nag is basically working. I can add tasks, search, list.
>>However I get the errors below at the top of the page?
>>Does anyone have an idea on how to fix this problem?
>>
>>Regards.  Paul
>>
>>Warning: Undefined index: horde in
>>/usr/local/httpd/docs/horde/nag/templates/menu/menu.inc on line 15
>>
> 
> Do you have a 'horde' section in registry.php?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> "What was and what may be, lie, like children whose faces we cannot see, in the
> arms of silence. All we ever have is here, now." - Ursula K. Le Guin
> 
>