[dev] Fwd: Re: Horde api not working when calling from a function
Michael Rubinsky
mike at theupstairsroom.com
Wed Mar 14 16:41:24 UTC 2007
kshema wrote:
> I have modified the code like this..
> include 'C:\Program Files\Apache
> Group\Apache\htdocs\horde\imp\lib\Fetchmail.php';
> @define('AUTH_HANDLER', true);
> @define('HORDE_BASE', 'C:\Program Files\Apache Group\Apache\htdocs\horde');
> require_once HORDE_BASE . '/lib/core.php';
> $registry = &Registry::singleton();
> global $conf;
> $auth = &Auth::singleton($conf['auth']['driver']);
>
> But now i am getting an error like this,
> A fatal error has occurred
> imp is not configured in the Horde Registry.
> Details have been logged for the administrator.
>
>
Well, without knowing more about what code caused this error (it's very
unlikely the code you posted caused it) it's hard to help....but the
error message is pretty straightforward...make sure IMP in configured in
your registry.
--
Thanks,
Mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
More information about the dev
mailing list