[imp] change_folders not shown when server_list == none

Chuck Hagenbuch chuck@horde.org
Fri, 12 Apr 2002 14:12:40 -0400


Quoting Alexander Skwar <lists.ASkwar@DigitalProjects.com>:

> Will try.  The way I think it should work is, that there should be a
> configuration setting for showing both options.  When a user then
> *enters* something in the text fields, the chosen server from the drop
> down list box is ignored.  In other words, the entry from the list box
> is only used, if the other fields are blank, or at their default
> values.

Sounds like it has the potential to be very confusing... maybe this would 
happend if $conf['server']['server_list'] was set to 'or_user_entry', or 
something like that?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan


>From mort@steamballoon.com Date: 12 Apr 2002 14:12:32 -0400
Return-Path: <mort@steamballoon.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 70877 invoked from network); 12 Apr 2002 18:13:55 -0000
Received: from gondola.steamballoon.com (?94zAcGRh8ZGyKd8XZmwmfT/yr/4Yej0M?@209.151.31.130)
  by clark.horde.org with SMTP; 12 Apr 2002 18:13:55 -0000
Received: from localhost.localdomain (fire.steamballoon.com [209.151.31.133])
	by gondola.steamballoon.com (8.11.6/8.11.6) with ESMTP id g3CIEHF09399
	for <imp@lists.horde.org>; Fri, 12 Apr 2002 14:14:17 -0400
From: Martin Hicks <mort@steamballoon.com>
To: imp@lists.horde.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.3 
Date: 12 Apr 2002 14:12:32 -0400
Message-Id: <1018635153.1091.54.camel@fire>
Mime-Version: 1.0
Subject: difficulties with mysql prefs

Hello,

I'm trying to setup Imp do use mysql preferences, but I'm
having some difficulties.  I'm using imp 3.0

I've created the table in mysql as described in lib/Prefs/sql.php,
and have added the following code:

    /** Hash containing connection parameters. */
    var $params = array();
    // The config parameters.
    $params['phptype'] = 'mysql',
    $params['hostspec'] = 'localhost';
    $params['username'] = 'horde';
    $params['password'] = 'AsdFgh12';
    $params['database'] = 'horde';
    $params['options'] = '';
    $params['tty'] = '';
    $params['port'] = '3306';
    $params['protocol'] = 'tcp';
    $params['table'] = 'horde_prefs';

I have also changed config/horde.php so that sql is used:

$conf['prefs']['driver'] = 'sql';

The problem is when I try to access imp I get the following error:

Fatal error: Call to a member function on a non-object in
/web/public_html/horde/lib/Registry.php on line 574

any help would be appreciated.
mh

-- 
Martin Hicks <mort@steamballoon.com>