Re: Midcom session_write_close()

Eero af Heurlin <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
med wrote:
> Hi all,
> 
> After I have played with midgard and aegir for a while now
> I'd like to start exploring midcom.
> 
> Unfortunately this shows up when I want to initialize a midcom-site:
> 
> Warning: session_write_close(): Your script possibly relies on a session
> side-effect which existed until PHP 4.2.3. Please be advised that the
> session extension does not consider global variables as a source of
> data, unless register_globals is enabled. You can disable this
> functionality and this warning by setting session.bug_compat_42 or
> session.bug_compat_warn to off, respectively. in
> 
> Any ideas anyone?
> 

It's right there, I don't think the auth system requires the side-effect
so you can just disable the warning, if aegir stops gives "cookie
problem" or just reloads the login page and you should enable the
side-effect functionality.

To be sure set in php.ini

session.bug_compat_42=on;
session.bug_compat_warn=off;

/Rambo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.