[chora] Obscure problem

Jan Schneider jan@horde.org
Thu, 28 Feb 2002 16:42:50 +0100


Zitat von Jan Schneider <jan@horde.org>:

> Zitat von Ahmed Shihab <ashihab@alcahest.com>:
> 
> > I've piped port 80 through SSH to a remote machine. From the remote
> > (windows) machine I access the horde application. All operations from
> > login to accessing all applications works fine, except for chora.
> 
> Hm, that's strange. The redirection to the login screen is done in the 
> lib/base.php file of each Horde application. The only difference I can
> see 
> by a quick look between Chora and the other apps is that authentication 
> check is done very late in base.php.
> You can try moving the "if (!Auth::getAuth..." part just under the
> registry 
> initialization further above in the same file. But this is just a wild 
> guess. ;-)

Forget this. I was able to reproduce it but I have no idea why this 
happens. Chora is actually doing the same as each other app to register 
itself in the registry but for any reason Auth::getAuth doesn't return the 
logged in user. Strange.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft