[dev] very off topic, but I would need serious help please.
Jan Schneider
jan@horde.org
Sun, 26 May 2002 02:31:42 +0200
I'm not sure but I think in Horde we set the environment variables _before_
we call the gettext binding functions. Did you try that?
Zitat von Frederic Trudeau <ftrudeau@cam.org>:
>
> Not really, in fact, I dont see anything in the logs when it fails, only
> when
> is succeed (in errorlog or transferlog for mod_ssl, that is).
>
> Looks like it may not be related to mod_ssl, Apache or PHP itself.
> Weird thing.
>
> Surlignage Jan Schneider <jan@horde.org>:
>
> > Zitat von Frederic Trudeau <ftrudeau@cam.org>:
> >
> > > All my pages are starting with this code ...
> > >
> > > <?
> > > session_start($PHPSID);
> > >
> > > // If user is accessing directly this page, forward him to index
> > > if(!session_is_registered(SESS_LOGIN)) {
> > > header("Location:index.php");
> > > }
> > >
> > > require("../_config/services.inc.php");
> > > require("../_config/config.inc.php");
> > > require("../_config/functions.inc.php");
> > >
> > > bindTextDomain("usage",'../locale');
> > > textDomain('usage');
> > > putenv("LANG=$SESS_LANG");
> > > setlocale(LC_ALL, $SESS_LANG);
> > > ?>
> > >
> > > can you see anything wrong in here ??
> >
> > No, looks fine. Anything in the logs?
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft