[horde] GIT questions..

Simon Brereton simon.buongiorno at gmail.com
Fri Mar 8 14:08:57 UTC 2013


On 8 March 2013 12:38, Simon Brereton <simon.buongiorno at gmail.com> wrote:
> On 8 March 2013 12:01, Vilius Šumskas <vilius at lnk.lt> wrote:
>>> The file does exist (although I guess it's possible the permissions
>>> need changing).
>>> mail:/usr/share/git-horde5# ls
>>> /usr/share/git-horde5/framework/Core/lib/Horde/Registry.php
>>> -rw-r--r-- 1 root root 96K Mar  8 08:16
>>> /usr/share/git-horde5/framework/Core/lib/Horde/Registry.php
>>>
>>> however, the permissions are the same as the old file
>>> mail:/usr/share/git-horde5# ls ../horde-backup/pear/php/Horde/Registry.php
>>> -rw-r--r-- 1 root root 96K Mar  1 14:10
>>> ../horde-backup/pear/php/Horde/Registry.php
>>
>>
>> You are looking at the wrong file. It's
>> /usr/share/git-horde5/horde/config/registry.local.php which cannot be
>> opened.
>
> Gah.  So, I didn't manage to get all the file permissions correct (I
> obviously didn't do the *.local.php ones).
>
>
> But now I got the error
>
> A fatal error has occurred
> DirectoryIterator::__construct(/usr/share/git-horde5/themes): failed
> to open dir: No such file or directory
> Details have been logged for the administrator.
>
> It doesn't matter if I make the $app_webroot = horde or not..

So, this is definitely where my problem is.  The Horde log says:
2013-03-08T13:55:25+00:00 EMERG: HORDE-BETA [imp]
DirectoryIterator::__construct(/usr/share/git-horde5/themes): failed
to open dir: No such file or directory [pid 10865 on line 90 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Themes.php"]

Nothing that I change in $app_webroot seems to correct this.  And my
understanding is that is where is should be corrected.

if I change it so that $web_fileroot and $web_approot together make a
coherent path to the templates directory, then I get this error:

2013-03-08T14:07:17+00:00 EMERG: HORDE-BETA User is not authorized for
horde [pid 5223 on line 267 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]


Simon


More information about the horde mailing list