Page MenuHomePhabricator

Warning from PHPSessionHandler during changePassword.php
Open, Needs TriagePublic

Description

When running maintenance/changePassword.php on a local instance (on a Windows server) I get the following warnings.

It's unclear if the password change went through (since the password was reset to what it should have been initially)

PHP Warning:  ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in C:\inetpub\wwwroot\mediawiki\includes\session\PHPSessionHandler.php on line 126
PHP Warning:  ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in C:\inetpub\wwwroot\mediawiki\includes\session\PHPSessionHandler.php on line 127
PHP Warning:  session_cache_limiter(): Cannot change cache limiter when headers already sent in C:\inetpub\wwwroot\mediawiki\includes\session\PHPSessionHandler.php on line 133 
PHP Warning:  session_set_save_handler(): Cannot change save handler when headers already sent in C:\inetpub\wwwroot\mediawiki\includes\session\PHPSessionHandler.php on line 140

Event Timeline

Potentially related to the problems in T124797, or not.

Lokal_Profil updated the task description. (Show Details)Feb 26 2018, 3:12 PM

Get the same error on one of my wikis when running the update.php script, it runs through it, but it feels bad having these warnings around. I'll probably investigate this further in teh next time, if no-one reponds with an idea :)