[horde] GIT questions..
Simon Brereton
simon.buongiorno at gmail.com
Fri Mar 8 20:48:11 UTC 2013
On 8 March 2013 20:54, Michael M Slusarz <slusarz at horde.org> wrote:
> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>
>>>> 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"]
>
>
> Your $app_fileroot is *still* wrong. It must be the base of the HORDE
> APPLICATION directory, not the base of the webroot or the base of the git
> repository.
>
> Your $app_fileroot is apparently '/usr/share/git-horde5'. That's incorrect
> - that's the BASE of your git repo - but nothing is served out of the base
> of the git repo. It should either be '/usr/share/git-horde5/horde' (or even
> the value of $web_dir from install_dev.conf).
If I change it to /usr/share/git-horde5/horde (and when you explain it
like that, I understand why I have it wrong) then the login page at
least loads (but it loads without a theme.
The log has these errors (a small selection, they seem to repeat)...
2013-03-08T20:21:06+00:00 DEBUG: HORDE-BETA Max memory usage: 7864320
bytes [pid 10859 on line 555 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:06+00:00 DEBUG: HORDE-BETA Horde_Registry: retrieved
app with cache ID
horde_registry|app|1362774026|24adc14b71cbf6db9a505d0eb1718c82 [pid
5234 on line 1983 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:06+00:00 EMERG: HORDE-BETA User is not authorized for
horde [pid 5234 on line 267 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:06+00:00 DEBUG: HORDE-BETA 1.
Horde_Registry::appInit() /usr/share/git-horde5/horde/rampage.php:54
2013-03-08T20:21:06+00:00 DEBUG: HORDE-BETA Max memory usage: 7864320
bytes [pid 5234 on line 555 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:06+00:00 DEBUG: HORDE-BETA Horde_Registry: retrieved
app with cache ID
horde_registry|app|1362774026|24adc14b71cbf6db9a505d0eb1718c82 [pid
10860 on line 1983 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:06+00:00 DEBUG: HORDE-BETA Load config file
(conf.php; app: horde) [pid 10913 on line 148 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Core/Factory/Logger.php"]
2013-03-08T20:21:07+00:00 EMERG: HORDE-BETA User is not authorized for
horde [pid 10860 on line 267 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:07+00:00 DEBUG: HORDE-BETA 1.
Horde_Registry::appInit() /usr/share/git-horde5/horde/rampage.php:54
2013-03-08T20:21:07+00:00 DEBUG: HORDE-BETA Max memory usage: 7864320
bytes [pid 10860 on line 555 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:07+00:00 DEBUG: HORDE-BETA Horde_Registry: retrieved
app with cache ID
horde_registry|app|1362774026|24adc14b71cbf6db9a505d0eb1718c82 [pid
10861 on line 1983 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:07+00:00 DEBUG: HORDE-BETA Load config file
(conf.php; app: horde) [pid 10859 on line 148 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Core/Factory/Logger.php"]
2013-03-08T20:21:07+00:00 DEBUG: HORDE-BETA Load config file
(conf.php; app: horde) [pid 5234 on line 148 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Core/Factory/Logger.php"]
2013-03-08T20:21:08+00:00 EMERG: HORDE-BETA User is not authorized for
horde [pid 10861 on line 267 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:08+00:00 DEBUG: HORDE-BETA 1.
Horde_Registry::appInit() /usr/share/git-horde5/horde/rampage.php:54
2013-03-08T20:21:08+00:00 DEBUG: HORDE-BETA Max memory usage: 7864320
bytes [pid 10861 on line 555 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:08+00:00 DEBUG: HORDE-BETA Horde_Registry: retrieved
app with cache ID
horde_registry|app|1362774026|24adc14b71cbf6db9a505d0eb1718c82 [pid
10865 on line 1983 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:08+00:00 EMERG: HORDE-BETA User is not authorized for
horde [pid 10865 on line 267 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:08+00:00 DEBUG: HORDE-BETA 1.
Horde_Registry::appInit() /usr/share/git-horde5/horde/rampage.php:54
2013-03-08T20:21:08+00:00 DEBUG: HORDE-BETA Max memory usage: 7864320
bytes [pid 10865 on line 555 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:08+00:00 DEBUG: HORDE-BETA Load config file
(conf.php; app: horde) [pid 10860 on line 148 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Core/Factory/Logger.php"]
2013-03-08T20:21:08+00:00 DEBUG: HORDE-BETA Horde_Registry: retrieved
app with cache ID
horde_registry|app|1362774026|24adc14b71cbf6db9a505d0eb1718c82 [pid
10913 on line 1983 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:09+00:00 EMERG: HORDE-BETA User is not authorized for
horde [pid 10913 on line 267 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:21:09+00:00 DEBUG: HORDE-BETA 1.
Horde_Registry::appInit() /usr/share/git-horde5/horde/rampage.php:54
However, when I try to login, I get an error about
The page isn't redirecting properly
Firefox has detected that the server is redirecting the
request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept
cookies.
(but all cookies are accepted).
There is a ticket open about this error on horde.org, but the solution
- as far is there one - seems to relate to an older version of
Horde_Core and I seem to have the latest version.
At this point, I changed to $app_webroot = '../'; (becase, if it's
supposed to be fileroot/webroot, then this is where imp, kronolith,
etc, are located) and I get the login page with the theme and I can
log in! But I have no apps :)
And the log says:
SHOW FIELDS FROM `horde_prefs` [pid 10283 on line 806 of
"/usr/share/git-horde5/framework/Db/lib/Horde/Db/Adapter/Base.php"]
2013-03-08T20:37:43+00:00 DEBUG: HORDE-BETA [horde] Max memory usage:
11796480 bytes [pid 10283 on line 555 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:37:44+00:00 DEBUG: HORDE-BETA Load config file
(conf.php; app: horde) [pid 10283 on line 148 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Core/Factory/Logger.php"]
2013-03-08T20:37:44+00:00 DEBUG: HORDE-BETA Setting imp inactive
because the fileroot does not exist or the application is not
configured yet. [pid 10283 on line 694 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:37:44+00:00 DEBUG: HORDE-BETA Setting ingo inactive
because the fileroot does not exist or the application is not
configured yet. [pid 10283 on line 694 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:37:44+00:00 DEBUG: HORDE-BETA Setting kronolith inactive
because the fileroot does not exist or the application is not
configured yet. [pid 10283 on line 694 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:37:44+00:00 DEBUG: HORDE-BETA Setting turba inactive
because the fileroot does not exist or the application is not
configured yet. [pid 10283 on line 694 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
2013-03-08T20:37:44+00:00 DEBUG: HORDE-BETA Setting nag inactive
because the fileroot does not exist or the application is not
configured yet. [pid 10283 on line 694 of
"/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php"]
At this point I would love to either edit the code to see what path it
is actually looking at, or change the application fileroot manually in
registry.local.php. Can you tell me how to do that?
Thanks.
Simon
More information about the horde
mailing list