[horde] Mixed directory errors

Simon B simon.buongiorno at gmail.com
Thu Jun 20 09:24:43 UTC 2013


On 20 June 2013 11:11, Simon B <simon.buongiorno at gmail.com> wrote:
> Hi
>
> I set up horde with pear in horde-prod and then horde with git in
> horde-beta (although the actual git clone is in git-horde5).
>
> However, I'm getting application errors when hitting the prod vhost
> (both are on the same server):
>
> [Thu Jun 20 09:52:26 2013] [error] [client 195.233.250.6] PHP Fatal
> error:  Cannot redeclare class IMP_Application in
> /usr/share/git-horde5/imp/lib/Application.php on line 567, referer:
> https://webmail.example.net/services/portal/index.php
> [Thu Jun 20 09:52:43 2013] [error] [client 195.233.250.6] PHP Fatal
> error:  Cannot redeclare class Kronolith_Application in
> /usr/share/git-horde5/kronolith/lib/Application.php on line 869,
> referer: https://webmail.example.net/services/portal/index.php
> [Thu Jun 20 09:53:58 2013] [error] [client 195.233.250.6] PHP Fatal
> error:  Cannot redeclare class Nag_Application in
> /usr/share/git-horde5/nag/lib/Application.php on line 643, referer:
> https://webmail.example.net/services/portal/index.php
> [Thu Jun 20 09:54:09 2013] [errospar] [client 195.233.250.6] PHP Fatal
> error:  Cannot redeclare class Turba_Application in
> /usr/share/git-horde5/turba/lib/Application.php on line 855, referer:
> https://webmail.example.net/services/portal/index.php
>
> Something, somewhere is pointing the applications to that directory
> (although the portal and the config pages are working fine.
>
> The browser just reports a 500 Error.
>
> Any ideas where I can look?
>
>
> grep doesn't seem to find any files in the horde-prod directory
> referencing git-horde5..
>
> root at mail:/usr/share/horde-prod# grep -inr git-horde5 .
> root at mail:/usr/share/horde-prod#

Nevermind - looking for horde-beta (which is a symlink to the
git-horde5 files found the offending file (my *,local.php :)

Sorry for the noise.

Simon


More information about the horde mailing list