[horde] GIT questions..

Michael J Rubinsky mrubinsk at horde.org
Thu Mar 7 19:12:43 UTC 2013


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

> On 7 March 2013 02:48, Michael M Slusarz <slusarz at horde.org> wrote:
>> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>>
>>> For clarification, my git-repository is /usr/share/git-horde5/ and my
>>> $web_dir = '/usr/share/horde-beta';  I'm not sure if the $app_fileroot
>>> should be the git repository or the web-root.  Essentially, it
>>> shouldn't matter because the web_root is just a symlink to the git
>>> repository, no?
>>
>>
>> $app_fileroot only deals with the physical location on the disk.  It has
>> nothing to do with web location/availability.
>>
>> Your registry.local.php should contain ONLY (at least at this point)
>>
>> <?php
>> $app_fileroot = [Horde location on disk];
>
>
>
>>> I do have the horde.local.phps though, so that means the install_dev
>>> script worked because it's only in the apps I specified.
>>> mail:/usr/share/git-horde5# find . -type f -name horde.local.php
>>> ./imp/config/horde.local.php
>>> ./kronolith/config/horde.local.php
>>> ./mnemo/config/horde.local.php
>>> ./passwd/config/horde.local.php
>>> ./nag/config/horde.local.php
>>> ./horde/config/horde.local.php
>>> ./turba/config/horde.local.php
>>>
>>>
>>> What I don't have is any apps showing - still..
>>>
>>> 2013-03-06T23:26:26+00:00 DEBUG: HORDE-BETA Setting imp inactive
>>> because the fileroot does not exist or the application is not
>>> configured yet. [pid 27221 on line 683 of
>>
>>
>> One of these tests is failing:
>>
>> $app_fileroot/imp doesn't exist
>> $app_fileroot/imp/config/conf.xml exists but conf.php doesn't
>
> (the value in ../imp/config/horde.local.php and the value of $web_dir)

Not sure what what you means by that.

What you should have in imp/config/horde.local.php is a define for  
HORDE_BASE. This is automatically generated by the install_dev script  
and should point to an ABSOLUTE PHYSICAL path on your file system to  
the root of your web-accessible horde directory. E.g,  
/var/www/html/horde.

Additionally, horde/config/horde.local.php should contain the same  
define, but updates the include_path to contain the ABSOLUTE PHYSICAL  
path to your horde/libs directory (again, created by the install_dev  
script).

In horde/config/registry.local.php you would put your $app_fileroot  
and $app_webroot definitions. E.g.,
$app_fileroot = '/var/www/html/horde' and $app_webroot = '/horde';

The really important thing to remember here about $app_fileroot is  
that it MUST be a real physical path on your filesystem it CANNOT be a  
symlinks.

-- 
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/20130307/df74b3a2/attachment.bin>


More information about the horde mailing list