[horde] odd behavior: more in the Log.php

Jon Parise jon at horde.org
Sat Aug 31 13:08:49 PDT 2002


On Thu, Aug 29, 2002 at 03:19:47PM -0700, Dean Guenther wrote:

> So, with the above installed, I still get the failed open
> error. However, if I go into Horde.php and change the line:
> 
>        include_once 'Log.php';
> 
> to be
> 
>        @include_once 'Log.php';
> 
> Then it works. Why is that?? And is it really working or am
> I going to have other problems. Certainly its better that I
> don't change the distributed Horde.php, but that does make
> it work. But maybe it doesn't work, because I still get the
> error

Adding the @ merely silences the error message.  You're only hiding
the problem, not resolving it.
 
>       Undefined class name 'log'
> 
> even after it supposedly included Log.php. 

Log.php was never included because the include_once call is still
failing.  See above.
 
> I did go through the PEAR install docs, and the online
> guides, and checked through the old horde mailing list
> archives looking for hits on "Log.php". 
> 
> What else have I omitted?

PHP's include_path may need adjusting.

-- 
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)


More information about the horde mailing list