[horde] can horde 2.1 work without using imp?

Wo Chang chang at nist.gov
Tue Jul 9 12:14:58 PDT 2002


Hi Chuck,

Ok, now I have the following setup within the horde.php:

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

// An array holding any parameters that the Auth object will need to
// function correctly.
$conf['auth']['params'] = array();

// For IMAP, this is the server name, port, protocol, etc.
// $conf['auth']['params']['dsn'] = '{imap.example.com:143/imap}INBOX';

// See $conf['prefs']['params'] further down for an example how to
// setup a SQL backend. But you must use the horde_users SQL table for
// the authentication driver. A SQL script can be found in
// horde/scripts/db/auth.sql.
// This is an example configuration for a MySQL preference backend.
// The SQL script to setup the preference database is placed in
// horde/scripts/db/prefs.sql.
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'xxxxx';
$conf['auth']['params']['password'] = 'zzzzz';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_prefs';

No more fatal error but still can't login?

Any other ideas?

Thanks!

--Wo
----- Original Message -----
From: "Chuck Hagenbuch" <chuck at horde.org>
To: "Wo Chang" <chang at nist.gov>
Cc: <horde at lists.horde.org>
Sent: Tuesday, July 09, 2002 3:01 PM
Subject: Re: [horde] can horde 2.1 work without using imp?


> Quoting Wo Chang <chang at nist.gov>:
>
> > At first I didn't specified any, just using the default 'none'.
> > Then after I switching to 'sql', then it prompts me a fatal
> > error: Required 'phptype' not specified in authentication configuration.
> >
> > Which I did specified in the horde.php for the sql section:
> >
> > //$conf['prefs']['driver'] = 'none';
> > $conf['prefs']['driver'] = 'sql';
>
> You're configuring preferences here, not authentication.
>
> > Is there anything that I need to config?
>
> Yes.
>
> > Do I need to modify the registry.php for the value of phptype?
>
> No.
>
> > The error message said I should NOT specify phptype, hmmm...
>
> No... it said it was missing.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> "After a few minutes the most aromatic and nice smelling Italian coffee
>  will come out of the exhaustpipe." - Our stove-top espresso pot
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list