[Tickets #3265] NEW: PEAR Log module not present = silent error

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Jan 13 10:39:33 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3265
-----------------------------------------------------------------------
 Ticket             | 3265
 Created By         | hordebug_stan at brinkerhoff.org
 Summary            | PEAR Log module not present = silent error
 Queue              | Horde Base
 Version            | 3.0.9
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


hordebug_stan at brinkerhoff.org (2006-01-13 10:39) wrote:

With display_errors = off in php.ini, a default horde install will fail
after configuration when the Log pear module is not present.  

With display_errors on here is the error:


Warning: main(Log.php): failed to open stream: No such file or directory in
/var/www/shtml/horde/lib/Horde.php on line 3

Warning: main(): Failed opening 'Log.php' for inclusion
(include_path='/var/www/shtml/horde/lib:.:/usr/share/pear') in
/var/www/shtml/horde/lib/Horde.php on line 3
A fatal error has occurred
Failed to import Horde configuration: Notice: Use of undefined constant
PEAR_LOG_NOTICE - assumed 'PEAR_LOG_NOTICE' in
/var/www/shtml/horde/config/conf.php on line 33 

Installing pear log fixed this, but perhaps horde should verbosely complain
instead of silently failing when errors are disabled?




More information about the bugs mailing list