[pmwiki-users] warning function.session_write_close() probaly php version problem
Patrick R. Michaud
pmichaud at pobox.com
Sun Aug 13 08:45:32 CDT 2006
On Sun, Aug 13, 2006 at 10:30:15AM +0200, worm wrote:
> hi all
> some peaple have a idea?
> page for example :
> passwd : test
> (no login name)
> i use : debian-etch/apache2/php5
> pmwki version : 2.1.11
What version of PHP are you running?
> i have this warning : "Warning: session_write_close()
> [function.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 /wiki/pmwiki.php on
> line 1582"
I don't know why this warning is appearing; AFAIK PmWiki doesn't
rely on the side effect being given in the warning. At any rate,
you should be able to set session.bug_compat_warn to off. But I
am curious to know which version of PHP is generating this error.
More information about the pmwiki-users