[horde] GIT questions..

Michael J Rubinsky mrubinsk at horde.org
Fri Mar 8 15:26:57 UTC 2013


Quoting Simon Brereton <simon.buongiorno at gmail.com>:

> 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/Registryphp
>>>> -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"]

What is the value of $web_dir in the install_dev.conf file? This  
should point to the web accessible directory you want to serve horde  
out of. E.g., /var/www/myvirtualhost.com/horde. I don't remember if  
the script creates the /horde directory or not so you might have to  
create it first. This is where the install_dev script will symlink all  
the apps and libraries to.

$app_webroot, in horde/config/registry.local.php, if we follow the  
example in the last paragraph, should be set to '/horde'. As it is the  
webroot of the horde install. Likewise, $web_fileroot should be set to  
the same /var/www/myvirtualhost.com/horde that you used in the  
install_dev.conf script.
-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/horde/attachments/20130308/c601ff33/attachment-0001.bin>


More information about the horde mailing list