[horde] [Horde 4.0-git] test.php does not list Horde Applications
roman stachura
roman at stachura.ch
Fri Sep 17 10:34:55 UTC 2010
Am 17.09.2010 11:35, schrieb Gerard Breiner:
> I think I set the correct fileroot according
> http://www.horde.org/source/git.php but I may be wrong.
> Nevertheless I put in registry : echo
> $this->applications['horde']['fileroot'] . '/imp'; and it return me :
> /www/horde-git/horde/config/../imp . It seems to me it is correct for
> imp application, isn't it . The directory horde-git is my repository
> and symlinks are in /www/horde4 and I have a symlink /www/horde to
> /www/horde4.
the symlink should be present in the registry.php.
if the fileroot of your symlink is /www/horde4
Apache reads on http://www.yourdomain.com/horde4
htdocs point to : /www/horde4
and the fileroot of your repository is /www/horde-git/horde/
than you shuld really change your registry.php
to
$this->applications['horde'] = array(
'fileroot' => '/www/horde4/..',
[...]
cose the the file : /www/horde4/config/registry.php is "only" a symlink
to /www/horde-git/horde/config/registry.php
therefore dirname(__FILE__) leads to the wrong directory.
regards roman
>
> Best regards
>
> Gerard
>
> roman stachura a écrit :
>> Am 16.09.2010 17:18, schrieb Gerard Breiner:
>>> Hello,
>>>
>>> I've just installed horde 4.0-git on A Debian Lenny platform.
>>> I'am trying to understand why horde/test.php does not show the Horde
>>> Applications. Yet I configured config/register.php. What does an
>>> application need in order to be listed by test.php or to be listed
>>> in the configuration's web interface ? I wonder where I'am wrong.
>>>
>>> Here is below a sample of conf/registry.php
>> Did you set the correct fileroot in the conf/registry.php ?
>>
>> as mentioned here: http://www.horde.org/source/git.php
>>
>> full directory paths will be needed in the
>> horde-git/horde/config/registry.php file due to the symlinks.
>>
>>
>>
>>>
>>> Thanks in advance for any help.
>>>
>>> Gerard Breiner
>>>
>>> [CODE]
>>> $this->applications['horde'] = array(
>>> 'fileroot' => dirname(__FILE__) . '/..',
>>> //'webroot' => _detect_webroot(),
>>> 'webroot' => '/horde',
>>> 'initial_page' => 'services/portal/index.php',
>>> 'name' => _("Horde"),
>>> 'status' => 'active',
>>> 'templates' => dirname(__FILE__) . '/../templates',
>>> 'provides' => 'horde'
>>> );
>>>
>>> $this->applications['imp'] = array(
>>> 'fileroot' => $this->applications['horde']['fileroot'] . '/imp',
>>> 'webroot' => $this->applications['horde']['webroot'] . '/imp',
>>> 'name' => _("Mail"),
>>> 'status' => 'active',
>>> 'provides' => array('mail', 'contacts/favouriteRecipients')
>>> );
>>>
>>>
>>> $this->applications['rampage'] = array(
>>> 'fileroot' => $this->applications['horde']['fileroot'] . '/rampage',
>>> 'webroot' => $this->applications['horde']['webroot'] . '/rampage',
>>> 'name' => _("Rampage"),
>>> 'status' => 'active',
>>> 'provides' => array('rampage', 'contacts/favouriteRecipients')
>>> );
>>>
>>> $this->applications['ingo'] = array(
>>> 'fileroot' => $this->applications['horde']['fileroot'] . '/ingo',
>>> 'webroot' => $this->applications['horde']['webroot'] . '/ingo',
>>> 'name' => _("Filters"),
>>> 'status' => 'active',
>>> 'provides' => array('filter', 'mail/blacklistFrom',
>>> 'mail/showBlacklist', 'mail/whitelistFrom', 'mail/showWhitelist',
>>> 'mail/applyFilters', 'mail/canApplyFilters', 'mail/showFilters'),
>>> 'menu_parent' => 'imp'
>>> );
>>>
>>> [CODE]
>>
>
More information about the horde
mailing list