[MediaWiki-l] Cannot change session name when headers already sent

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] Cannot change session name when headers already sent

Jörn Clausen
Hi!

I am new to MediaWiki and I try to install a test Wiki in this environment:

NetBSD 8.1
Apache 2.4.41
PHP 7.3.9
PostgreSQL 11.5
MediwWiki 1.33.0

I have performed the installation dialogue (the database is filled, so
it has done something) and added LocalSettings.php in the base directory.

When accessing the Wiki, I am back at the installer page and see

[adbcec82bb7466fe231a3192] 2019-09-09 08:48:02: Fatal exception of type
InvalidArgumentException

on that page. The Apache log shows

[Mon Sep 09 10:48:02.036078 2019] [php7:warn] [pid 21348:tid
134915271573504] [client 129.70.200.212:60859] PHP Warning:
session_name(): Cannot change session name when headers already sent in
/usr/pkg/share/httpd/htdocs/mediawiki-1.33.0/includes/Setup.php on line 803

I found some info on this error, but nothing in the context of
MediaWiki. What am I missing here?

Thanks,
    Joern


--
Jörn Clausen
BITS - Bielefelder IT-Servicezentrum
http://www.uni-bielefeld.de/bits

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Cannot change session name when headers already sent

Daimona
Hello Joern,

Someone else may know better than me, but personally, I'd suggest
investigating where the InvalidArgumentException is coming from. It could
be possible that something is throwing that exception very early during the
setup, when it's still not handled properly. I may be way off base, of
course, but I think it's worth investigating anyway.

Best,

Il giorno lun 9 set 2019 alle ore 11:12 Jörn Clausen <
[hidden email]> ha scritto:

> Hi!
>
> I am new to MediaWiki and I try to install a test Wiki in this environment:
>
> NetBSD 8.1
> Apache 2.4.41
> PHP 7.3.9
> PostgreSQL 11.5
> MediwWiki 1.33.0
>
> I have performed the installation dialogue (the database is filled, so
> it has done something) and added LocalSettings.php in the base directory.
>
> When accessing the Wiki, I am back at the installer page and see
>
> [adbcec82bb7466fe231a3192] 2019-09-09 08:48:02: Fatal exception of type
> InvalidArgumentException
>
> on that page. The Apache log shows
>
> [Mon Sep 09 10:48:02.036078 2019] [php7:warn] [pid 21348:tid
> 134915271573504] [client 129.70.200.212:60859] PHP Warning:
> session_name(): Cannot change session name when headers already sent in
> /usr/pkg/share/httpd/htdocs/mediawiki-1.33.0/includes/Setup.php on line 803
>
> I found some info on this error, but nothing in the context of
> MediaWiki. What am I missing here?
>
> Thanks,
>     Joern
>
>
> --
> Jörn Clausen
> BITS - Bielefelder IT-Servicezentrum
> http://www.uni-bielefeld.de/bits
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


--
https://meta.wikimedia.org/wiki/User:Daimona_Eaytoy
"Daimona" is not my real name -- he/him
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l