Undefined index: Send Message

bill parducci bill@parducci.net
Thu, 08 Feb 2001 17:40:32 -0800


just upgraded to the latest stable rev and now receive this when i try to send a note:

"Warning: Undefined index: Send Message in /var/www/html/horde/imp/compose.php3 on line 251"

inserting an echo after line 247 shows the value of $actionID to be 'Send Message' which is not case
correct with the options of the switch function. (which would prolly explain the following translate
function):

if (isset($actionID)) {
        /* translate non-int values into the correct int */
        if (strcspn($actionID, '0123456789')) {
            $actionID = isset($actions[$actionID]) ? $actions[$actionID] :
$actions[htmlentities($actionID)];
        }

the problem is that both $actions[$actionID] and htmlentities($actionID) return "undefined indexes"

any ideas as to why?

thanks

b


>From chuck@horde.org Date: Thu,  8 Feb 2001 23:53:04 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 89113 invoked from network); 9 Feb 2001 04:54:00 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 9 Feb 2001 04:54:00 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 90E7539F4; Thu,  8 Feb 2001 23:53:04 -0500 (EST)
Received: from 192.168.0.147 ( [192.168.0.147])
	as user chuck@marina by marina.your.mom with HTTP;
	Thu,  8 Feb 2001 23:53:04 -0500
Message-ID: <981694384.3a8377b036f09@marina.your.mom>
Date: Thu,  8 Feb 2001 23:53:04 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: RE: [imp] Can't get past the login screen

Quoting "Timothy M. Butkiewicz" <Timothy@cyberMIND-usa.com>:

> I am not sure, I am looking at the php.ini (dist) and I am not seeing
> get-mode .....

Sorry, the actual option name is session.use_cookies.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me