[horde] failing to log in to horde cvs HEAD using imap]

Bill Dossett bd at emtex.com
Mon Apr 7 04:56:35 PDT 2003


Hey Derek, yes, you are going down the same road as I did...
you've missed a couple of lines in the docs/INSTALL...  you
need to log into horde as administrator to configure imp, and
it then writes your conf.php... so you can't use imp to authenticate
to begin with anyway, I couldn't get imap to work but in the end
ftp worked for me, I guess there are issues with c-client and
php versions...  I found that the following in horde/config/conf.php

$conf['auth']['admins'] = array('me');

// What backend should we use for authenticating users to Horde? Valid
// options are currently 'application', 'cyrsql', 'imap', 'ldap',
// 'mcal', 'sql', 'customsql', 'ftp', 'smb', 'krb5', and 'radius'.
$conf['auth']['driver'] = 'ftp';

// 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';
$conf['auth']['params']['dsn'] = '{mailgate.emtex.com:21/ftp}';

got me logged into horde, obviously replace 'me' with an ftp account
that exists that you can log into... may have to start an ftpd for this,
or try imap, it might work for you... then I was able to go to 
administration,
pick imp and configure it and it wrote the configuration... and then
things started working pretty good...  not sure why it doesn't say that
the conf.php is actually missing, but then again, I think the disclaimers
about HEAD code are pretty clear ... anyway, hope this helps,
it got me going anyway.

btw, one other thing that fouled me up is I was working as root and
when I checked the files out of cvs the dirs and files were all owned
by root and when it went to actually write the conf.php, it couldn't
and said to copy the code it generated into conf.php... that didn't work
for me and when I finally got around to chown the dirs and files to
apache:apache, and then it was able to write the conf.php and then
I could login, not sure why that was, but it was a stoopid mistake on
my part anyway, so just to warn you.

Cheers
Bill



Derek Colley wrote:
> I got horde and imp from CVS last night and I am getting similar problems... 
> 
> Notice: Undefined index: alternate_login in /var/www/html/sync/imp/login.php 
> on line 93
> 
> Notice: Undefined variable: guestapps 
> in /var/www/html/sync/templates/login/login.inc on line 68
> 
> Notice: Undefined variable: problem 
> in /var/www/html/sync/templates/login/login.inc on line 68
> 
> Fatal error: Call to a member function on a non-object 
> in /var/www/html/sync/templates/login/login.inc on line 85
> 
> I think this is to do with the new conf.xml file. I had to amend 
> horde/imp/index.php to check for conf.xml instead of the conf.php.
> 
> Even though I changed this, I still can't login so there is still some work to 
> do to integrate the new conf.xml file with the application.
> 
> For now, I only want to play with xmlrpc so I'm gonna downgrade imp and have 
> another go.
> 





More information about the horde mailing list