[horde] Upgrade problem (Horde 2.0 to 2.2.1)

Kate Harris kat at totkat.org
Wed Apr 9 16:01:25 PDT 2003


Hi,

I currently run horde 2.0 and have been dabbling in upgrading to 2.2.1.  What
I did was to install a second, concurrent instance of horde in
$APACHEHOME/htdocs/horde-2.2.1/ and keep the original in
$APACHEHOME/htdocs/horde-2.0/  To swap between the two, I just symlink
$APACHEHOME/htdocs/horde to whichever I want to use.

My apache docroot is set to be $APACHEHOME/htdocs/horde and this works
fine for 2.0.  As soon as I flip to 2.2.1, I get this kind of error
in my apache error_log:-

File does not exist: $APACHEHOME/htdocs/horde/horde/menu.php
File does not exist: $APACHEHOME/htdocs/horde/horde/login.php

Now, in registry.php for horde 2.0, I have:-

$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '/horde',

So, I tried the same for 2.2.1, but that gives me those errors in
the apache logs.

If I change the horde webroot (and cookie) directive to be simply '/', I get
no errors in the apache logs, but things are not right. I get a browser
dialog "This page contains both secure and non-secure items...",
the horde icon in the bottom frame, the rest of the icons are broken
and they link to https://modulename/?Horde=.... and the main frame is broken.
Using the floating toolbar option, the URL that I get in the address
bar is:- https://servername/login.php?Horde=... Cross-referencing the
the full URL with the access_log shows a 302 return code and it gets
no further than that.  Testing with https://servername/imp/login.php?Horde=...
using the same full URL, gets me to a login page, but then I can't
log in as it keeps adding horde/ into the URL.

So, if I add a symlink "horde" in the horde-2.2.1 directory, back to
itself, it all works when the $APACHEHOME/htdocs/horde link points to
horde-2.2.1.  Thing is, I'd rather not be messing with that kind
of kludge because if I have to do that, there's something else not right,
quite obviously.  There must be a way to make 2.2.1 work like 2.0, but
whatever it is, I've missed it.

Any ideas would be much appreciated and apologies if that explanation
was difficult to follow or doesn't have enough information.

Thanks,
Kate
-- 
Kate Harris
http://www.totkat.org/

-----------------------------------------------------
This mail was sent through IMP: http://horde.org/imp/



More information about the horde mailing list