[imp] Getting started with IMP 3.0

Joshua E Warchol jwarchol@dsl.net
Tue, 13 Nov 2001 13:33:15 -0500


By commenting out all my prefs stuff and setting it to 'none' I was
able to log into the new, very impressive IMP. I'd still apreciate any
advice on how to get the SQL stuff working properly.

On Tue, Nov 13, 2001 at 01:24:52PM -0500, Joshua E Warchol wrote:
> When I look at registry.php the first two lines are already commented out.
> 
> I go to my page now and select the server (I added the right IMAP server info
> to servers.php), type in the username and password (both valid) and I get
> an error:
> 
>     object(pear_error)(10) {
>     ["error_message_prefix"]=>
>     string(0) ""
>     ["error_prepend"]=>
>     string(0) ""
>     ["error_append"]=>
>     string(0) ""
>     ["mode"]=>
>     int(1)
>     ["level"]=>
>     int(1024)
>     ["code"]=>
>     NULL
>     ["message"]=>
>     string(62) "Required 'phptype' not specified in preferences configuration."
>     ["debuginfo"]=>
>     string(0) ""
>     ["userinfo"]=>
>     NULL
>     ["callback"]=>
>     NULL
> }
>     [/u1/opt/www/html/horde/lib/Prefs/sql.php:80]
> 
> Any ideas? In horde.php I have prefs defined to use the mysql database on
> the system as follows:
> 
> $conf['prefs']['driver'] = 'sql';
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'hordemgr';
> $conf['prefs']['params']['password'] = 'hordemgr';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> 
> (I know I need to change the password eventually).
> 
> 
> 
> On Tue, Nov 13, 2001 at 06:20:35PM +0100, Jan Schneider wrote:
> > Zitat von Joshua E Warchol <jwarchol@dsl.net>:
> > 
> > > I've been using IMP 2.2 for a while now with great luck (nice work!).
> > > I'm
> > > interested in using IMP 2.3 (3.0) in development. I've gotten the
> > > latest
> > > version from CVS (horde and imp) and 4.0.7 of pear. All are installed
> > > and I can bring up the nice purple login screen for horde (or imp).
> > > 
> > > At this point I'm a bit stuck. I'm used to the setup.php3 configuration
> > > in 2.2. I've poked around the php files on config under horde and imp.
> > > I
> > > setup mysql properly, put the auth and prefs statements info horde.php,
> > > added
> > > my IMAP server in servers.php, but I can't make out what to do next.
> > > When
> > > horde is configured to auth off of sql, what do you put in the users
> > > table?
> > 
> > If you focus on using imp you should let imp do the authentication stuff 
> > for horde. Comment out the first two lines in registry.php.
> > 
> > Jan.
> > 
> > :::::::::::::::::::::::::::::::::::::::: 
> > AMMMa AG - discover your knowledge
> > :::::::::::::::::::::::::::
> > Detmolder Str. 25-33 :: D-33604 Bielefeld
> > fon +49.521.96878-0 :: fax  +49.521.96878-20
> > http://www.ammma.de
> > ::::::::::::::::::::::::::::::::::::::::::::::
> > 
> > -- 
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> -- 
> Joshua Warchol
> UNIX Systems Administrator
> DSL.net
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org

-- 
Joshua Warchol
UNIX Systems Administrator
DSL.net