[horde] Fwd: Constant sid already defined
Jan Schneider
jan at horde.org
Wed Jul 31 12:53:42 PDT 2002
----- Weitergeleitete Nachricht von ribeiro at pt-studio.com -----
Datum: Wed, 31 Jul 2002 03:39:05 +0100
Von: Carlos Ribeiro <ribeiro at pt-studio.com>
Antwort an: Carlos Ribeiro <ribeiro at pt-studio.com>
Betreff: Constant sid already defined
An: Jan Schneider <jan at horde.org>
Hi regarding this problem ...
people can do:
/* If we fail to register the cache, continue on without it. */
if (@!session_register('prefs_cache')) {
unset($prefs_cache);
$caching = false;
}
to prevent the error to be displayed ...
no pretty but works for now ...
Best Regards
Ribeiro
pt-studio - web solutions
tel: 252 371 330
fax: 252 371 332
e-mail: info at pt-studio.com
on-line: http://www.pt-studio.com
> Notice: Constant sid already defined in /htdocs/horde/lib/Prefs.php on
> line
> 91
>
> Warning: Cannot send session cache limiter - headers already sent (output
> started at /htdocs/horde/lib/Prefs.php:91) in /htdocs/horde/lib/Prefs.php
> on
> line 91
>
>
> line 91 >> if (!session_register('prefs_cache')) {
>
> Someone posted that removing "!" from the line, would fix the error
> But I wanted to be sure this was the best way to fix it.
Definitely not. We had this problem regularly on Horde 2.0/IMP 3.0 so you
should try an upgrade if you run these versions.
It still happens occasionally with the recent versions but no one was able
to track it down so far.
----- Ende der weitergeleiteten Nachricht -----
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
-------------- next part --------------
Skipped content of type text/html
More information about the horde
mailing list