[kronolith] Still not able to get kronolith working.

Christopher Crowley ccrowley@tulane.edu
Tue, 4 Dec 2001 10:32:44 -0600


> These examples are for the mcal driver. You need sql params - they pretty
much
> look like the sql preferences configuration, etc.
>

Is this the param structure you refer to?

$conf['calendar'] = array(
        'driver' => _("sql"),
        'params' => array(
                        'username' => _("kronolith"),
                        'password' => _("actualpasswd")));

I am hesitatant to test this, because my configuration attempts yesterday
caused a panic in MySQL (and a skyrocketing load average), which interfered
with my production IMP, much to 3K people's chagrin. There is an infinite
loop which is getting created between kronolith and horde.

I've added this to kronolith/lib/base.php to help stop whatever race
condition might occur. But I'm still gunshy due to yesterday's experience.

// Don't allow access unless there is a Horde login
// The line below is used to test problem with kronolith ccrowley 11.15.01
var_dump(Auth::getAuth());






>From pgc@ucecom.com Date: 04 Dec 2001 16:53:05 -0500
Return-Path: <pgc@ucecom.com>
Mailing-List: contact kronolith-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list kronolith@lists.horde.org
Received: (qmail 74363 invoked from network); 4 Dec 2001 16:49:10 -0000
Received: from unknown (HELO ucecom.com) (195.8.161.130)
  by clark.horde.org with SMTP; 4 Dec 2001 16:49:10 -0000
Received: from hankey.ucecom.com ([140.4.2.19]) by stan.ucecom.com
          (Netscape Messaging Server 3.6)  with ESMTP id AAA1F58C
          for <kronolith@lists.horde.org>; Wed, 5 Dec 2001 05:08:08 +0000
From: "Paul Cooper" <pgc@ucecom.com>
To: kronolith@lists.horde.org
In-Reply-To: <352701c17ce1$5099ff40$19775181@netview>
References: <1006808413.3c02ad5d18f2d@imp.riboflavin.net>
	<1006813006.3c02bf4e8fc9d@linux.wg.de>
	<1006896309.3c0404b568874@imp.riboflavin.net>
	<1006971631.3c052aefb46af@linux.wg.de>
	<1007064023.3c0693d79bcf8@imp.riboflavin.net>
	<1007238121.3c093be9b462e@marina.horde.org>
	<191a01c17c3b$9b33ea30$19775181@netview>
	<1007413151.3c0be79fd884b@marina.horde.org>
	<1a7401c17c42$591a0dd0$19775181@netview>
	<1007415468.3c0bf0acea53d@marina.horde.org> 
	<352701c17ce1$5099ff40$19775181@netview>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 04 Dec 2001 16:53:05 -0500
Message-Id: <1007502786.13038.4.camel@hankey.ucecom.com>
Mime-Version: 1.0
Subject: Re: [kronolith] Still not able to get kronolith working.

On Tue, 2001-12-04 at 11:32, Christopher Crowley wrote:
> 
> > These examples are for the mcal driver. You need sql params - they pretty
> much
> > look like the sql preferences configuration, etc.
> >
> 
> Is this the param structure you refer to?

It should look something like this

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

$conf['calendar']['params'] = array();
$conf['calendar']['params']['phptype'] = 'mysql';
$conf['calendar']['params']['hostspec'] = 'localhost';
$conf['calendar']['params']['username'] = 'horde';
$conf['calendar']['params']['password'] = '*****';
$conf['calendar']['params']['database'] = 'horde';
$conf['calendar']['params']['table'] = 'kronolith_events';


where you fill in your settings for hostspec username password and
database

Paul

> $conf['calendar'] = array(
>         'driver' => _("sql"),
>         'params' => array(
>                         'username' => _("kronolith"),
>                         'password' => _("actualpasswd")));
> 
> I am hesitatant to test this, because my configuration attempts yesterday
> caused a panic in MySQL (and a skyrocketing load average), which interfered
> with my production IMP, much to 3K people's chagrin. There is an infinite
> loop which is getting created between kronolith and horde.
> 
> I've added this to kronolith/lib/base.php to help stop whatever race
> condition might occur. But I'm still gunshy due to yesterday's experience.
> 
> // Don't allow access unless there is a Horde login
> // The line below is used to test problem with kronolith ccrowley 11.15.01
> var_dump(Auth::getAuth());
> 
> 
> 
> 
> 
> -- 
> Kronolith mailing list: http://horde.org/kronolith/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org




>From chuck@horde.org Date: Tue,  4 Dec 2001 12:11:45 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact kronolith-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list kronolith@lists.horde.org
Received: (qmail 80487 invoked from network); 4 Dec 2001 17:12:38 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 4 Dec 2001 17:12:38 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id E61F939D4; Tue,  4 Dec 2001 12:11:45 -0500 (EST)
Received: from 192.168.0.115 ( [192.168.0.115])
	as user chuck@localhost by marina.horde.org with HTTP;
	Tue,  4 Dec 2001 12:11:45 -0500
Message-ID: <1007485905.3c0d03d1bf4f0@marina.horde.org>
Date: Tue,  4 Dec 2001 12:11:45 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: kronolith@lists.horde.org
References: <1006808413.3c02ad5d18f2d@imp.riboflavin.net> <1006813006.3c02bf4e8fc9d@linux.wg.de> <1006896309.3c0404b568874@imp.riboflavin.net> <1006971631.3c052aefb46af@linux.wg.de> <1007064023.3c0693d79bcf8@imp.riboflavin.net> <1007238121.3c093be9b462e@marina.horde.org> <191a01c17c3b$9b33ea30$19775181@netview> <1007413151.3c0be79fd884b@marina.horde.org> <1a7401c17c42$591a0dd0$19775181@netview> <1007415468.3c0bf0acea53d@marina.horde.org> <352701c17ce1$5099ff40$19775181@netview>
In-Reply-To: <352701c17ce1$5099ff40$19775181@netview>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [kronolith] Still not able to get kronolith working.

Quoting Christopher Crowley <ccrowley@tulane.edu>:

> $conf['calendar'] = array(
>         'driver' => _("sql"),

Paul's example was right. FYI, _("") is a gettext call to translate a string. 
You don't want to use it in configuration files.

-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