[horde] Preferences

Peter Russell peterr at aidworld.org
Thu Aug 19 07:14:21 PDT 2004


Jan Schneider wrote:

> Zitat von Peter Russell <peterr at aidworld.org>:
>
>> Hi,
>>
>> I'm afraid this is a bit of a newbie question, I don't have much
>> experience with PHP.  I'm having a problem configuring Horde 2.2.5.
>>
>> In order to troubleshoot a problem with the LDAP preferences back end I
>> want to be able to look at the logs.  There are two problems.
>>
>> 1.  There is another running version of Horde on this server.  They have
>> both been logging into /tmp/horde.log (or have both been configured to,
>> and the file does exist, see below).  I want to have my version log to a
>> different file.  I have changed config/horde.php to have it log into
>> /tmp/horde2.log.  However no file seems to be created.  I suspect that
>> my changes are being ignored (and this may also be the problem with
>> LDAP).  Is this likely to be the problem, and if so, is there some way
>> to force the config file to be reread?
>
>
> Configuration files (if not preference configurations) get reloaded with
> each page request.

It would seem that with my particular installation, things are being 
cached which should not be.  I just moved my whole horde installation 
away and replaced it with a clean one.  Using the .dist configuration 
files, My user name and password is authenticated, I am able to view my 
email, and use the addressbook.  All of this without setting up the 
authentication at all, or having Imp or Turba installed.

Is this a problem with the Apache instalation I'm using?

>> 2.  I don't have the right permisions to view the log file that has been
>> created, so I don't actually know if my version has been logging there.
>> Is there a way to cause Horde to create log files with different
>> permissions?  Perhaps with the "$conf['log']['params'] = array();"
>> line?  I can't seem to find any documentation on this.
>
>
> $conf['log']['params']['mode'] sets the umask as an integer (!) value.

Thanks, is this in octal like the unix umask command, so what I want is 022?

> Jan.

Thankyou very much for your help!

Peter




More information about the horde mailing list