Summary: | Horde-IMP 4.0.1 is looking for file Test.php which doesn't exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Werner Schalk <werner_schalk> |
Component: | Current packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | RESOLVED UPSTREAM | ||
Severity: | blocker | CC: | christoph, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Werner Schalk
2005-02-14 09:52:53 UTC
This still an issue ? ive never used webapp-config to setup horde before ... but this is how stuff exists currently ... horde-3.0.4 contains lib/Test.php when you install horde, it should be in <webroot>/horde such that http://website/horde/ works when you install horde-imp, it should be in <webroot>/horde/imp/ if imp is not in a subdir of the main horde install, it wont work, end of story (In reply to comment #2) > ive never used webapp-config to setup horde before ... but this is how stuff exists currently ... I tried the same as the OP yesterday with exacly the same result, then I thought maybe horde-imp can't run without horde installed in the same <vhost> instance but installing horde (3.0.4) fails with random stat() errors like; "cp cannot stat '/usr/share/webapps/horde/3.0.4-r1/htdocs/lib/Net/SMS/vodafoneitaly_smtp.php': no such file or directory" (that file doesn't exists and I have no clue why webapp-config thinks it should be there.) > > horde-3.0.4 contains lib/Test.php > > when you install horde, it should be in <webroot>/horde such that http://website/horde/ works > > when you install horde-imp, it should be in <webroot>/horde/imp/ in case of horde-imp-4.0.3 ist is in <webroot>/horde-imp/ > > if imp is not in a subdir of the main horde install, it wont work, end of story Exactly, but this brings us nowhere. As the horde eclass inherits from webapp it should be managed by webapp correctly. I wouldn't complain if it just stayed out of my way. paul *** Bug 100678 has been marked as a duplicate of this bug. *** Horde 3.0.6 contains an error in horde/config/registry.php 1.) The horde-nag package creates a horde-nag directory, but the registry.php entry for nag is looking for ../nag as a directory. 2.) webapp-config -I -h <host> -d horde-nag horde-nag 2.0.3 creates the horde-nag directory along side the horde directory, not below it. The actual code in the horde/config/registry.php calls for: $this->applications['nag'] = array( 'fileroot' => dirname(__FILE__) . '/../nag', 'webroot' => $this->applications['horde']['webroot'] . '/nag', Moving the horde-nag directory to be below the horde directory, and changing horde/config/registry.php to look for the fileroot to be horde-nag fixes the problem. Both of these errors apply to horde-kronolith 2.04 as well. I suspect that this will apply to all the other horde modules as well. For a given vhost, horde components should be installed into a subdir of where horde resides. So, if horde has been installed with "-d horde", horde-foo should be installed with "-d horde/foo", not "-d horde-foo". We can see at webapp.eclass:525, that webapp-config instruction takes $PN as a suggested installation directory, which is probably wrong for horde components. |