[imp] Notice: Undefined index errors :: CONFIG ISSUE NOT?

Kevin Angus kangus at jaga.us
Thu Oct 2 11:04:15 PDT 2003


>From my /var/www/horde/imp/php_error.err file after trying to login to IMP
from HORDE:

[02-Oct-2003 11:48:06] PHP Notice:  Undefined index:  alternate_login in
/var/www/horde/imp/login.php on line 122
---snip all header warnings-----
[02-Oct-2003 11:48:06] PHP Notice:  Undefined variable:  guestapps in
/var/www/horde/templates/login/login.inc on line 72
[02-Oct-2003 11:48:06] PHP Notice:  Undefined variable:  problem in
/var/www/horde/templates/login/login.inc on line 72
[02-Oct-2003 11:48:06] PHP Fatal error:  Call to a member function on a
non-object in /var/www/horde/templates/login/login.inc on line 115

>From my /var/www/horde/imp/config/conf.php:
$conf['user']['alternate_login'] = false;

>From line  120 in login.php
/* Redirect the user if an alternate login page has been specified. */
if (in_array($reason, array('login', 'failed', 'session', 'logout')) &&
    $conf['user']['alternate_login']) {
    $url = Util::addParameter($conf['user']['alternate_login'], 'reason',
$reason);
    header('Location: ' . $url);
    exit;
}

The above test fails...

I have a working Horde/IMP setup on the same server using Horde 2.2.3 mapped
into my qmail setup (default qmail horde toaster)
I have compared the settings between the CVS tip and the toaster ipm and can
not see anything wrong.



-----Original Message-----
From: imp-bounces at lists.horde.org [mailto:imp-bounces at lists.horde.org]On
Behalf Of Michael M Slusarz
Sent: Wednesday, October 01, 2003 2:49 PM
To: imp at lists.horde.org
Subject: RE: [imp] Notice: Undefined index errors


Quoting Kevin Angus <kangus at jaga.us>:

| I get:
| Notice: Undefined index: alternate_login in
| /var/www/html/horde/imp/login.php on line 122
|
| The the latest CVS tip

Update your config files.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder

--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe at lists.horde.org



More information about the imp mailing list