[imp] Error in IMP-cvs conf.php?

robert robert at gmx.li
Tue Mar 2 12:28:09 PST 2004


Hi there,

i installed the latest Horde from cvs and configured it from hordes
administration menu. Horde, Trean, Gollem, Kronolith etc were all working fine,
only IMP generated wrong urls, the servername was missing in the url. eg. when
i clicked "Mail" in the menu, i was redirected to
https://:/horde/imp/redirect.php?server_key=imap&actionID=login&autologin=1&frameset=1,
whis is obviously not a valid url. My horde/imp/config/conf.php looked like
this

...
$conf['server'] = array();
$conf['server']['server_list'] = 'none';
$conf['server']['change_server'] = false;
$conf['server']['change_port'] = false;
$conf['server']['change_protocol'] = false;
$conf['server']['change_folders'] = false;
$conf['server']['cache_folders'] = false;
...

I was able to resolve the problem by copying the line "$conf['server']['name'] =
$_SERVER['SERVER_NAME'];" from horde/config/conf.php to
horde/imp/config/conf.php, now everything works.

Looks to me like "$conf['server']['name']" from hordes config file gets somehow
"overruled" by imps "$conf['server'] = array();", so imp does not know the name
of the server. "AJ" posted the same problem to the list last week, so this
might be a bug.


robert


More information about the imp mailing list