[imp] Error on Login

Gerard Escalante g2@magestudios.net
Mon, 12 Nov 2001 21:46:24 -0800


Is this variable, in horde/config/horde.php actually used and obeyed?

// Should Horde log errors and other useful information?
$conf['log']['enabled'] = false;

>From what I see in the logMessage() method of horde/lib/Horde.php, it doesn't 
ever look at this variable.

The thing is, is that horde returns that error every time Horde tries to use 
PEAR's log class.  Changing this variable makes absolutely no difference.  
However, lowering the log priority to LOG_EMERG, this prevents the error from 
happening.

-- Gerard

Quoting Jan Schneider <jan@horde.org>:

> Whenever a user logs in to imp some messages are sent to the configured log
> 
> destination. Obviously that seems to fail. How did you configure logging in
> 
> horde.php?
> 
> What I can think of is that APC (I really don't know what it is) runs as a 
> different user than apache. Apache created the log file with its own file 
> permissions and if APC tries to write to this file it fails because of
> missing 
> permissions.
> 
> Anyway, if you don't need logging just disable it in horde.php.
> 
> Jan.
> 
> Zitat von Gerard Escalante <g2@magestudios.net>:
> 
> > Hi:
> > 
> > I'm running the latest HEAD tagged cvs versions of IMP and Horde.  I have
> > setup 
> > Horde to use IMP as the login process.  On my webserver, Apache 1.3.20
> with
> > PHP 
> > 4.0.6, I am running the cvs version of the APC cache.  Whenever I enable
> the
> > 
> > APC cache, I recieve the following error on logon:
> > 
> > A fatal error has occurred 
> > 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(92) "An error has occurred. Furthermore, Horde encountered an
> error
> > 
> > attempting to log this error."
> >   ["debuginfo"]=>
> >   string(0) ""
> >   ["userinfo"]=>
> >   NULL
> >   ["callback"]=>
> >   NULL
> > } 
> > 
> > 
> > However, whenever I recieve this error, I can just click on the icons at
> the
> > 
> > menu at the bottom, and everything continues to work as usual.  Whenever I
> 
> > disable APC, things change back to normal.  Would anyone have any ideas
> on
> > what 
> > this error means, and why it is happening, and how to fix it? APC really
> > helps 
> > enormously Horde in terms of speed, and I would like to keep it this way!
> > 
> > 
> > Also, the spell checking function does not work properly when APC is
> enabled,
> > 
> > but I'd guess that this is an issue with APC and not Horde/IMP.  No big
> deal
> > 
> > here...
> > 
> > Regards,
> > Gerard Escalante
> > g2@magestudios.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
> > 
> > 
> 
> 
> :::::::::::::::::::::::::::::::::::::::: 
> 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
> 
>