Topic on Project:Support desk

After changing the localsettings.php always the same error

3
Wegavision (talkcontribs)

MediaWiki 1.24.1

PHP 5.5.8 (cgi-fcgi)

MariaDB 5.5.35-MariaDB

My wiki works fine: http://filmtheater.square7.ch/wiki/index.php?title=Hauptseite

But if I change someting in the localsettings, for example adding a # in a free line, there ist alway this error:

Warning: Cannot modify header information - headers already sent by (output started at /users/filmtheater/www/wiki/LocalSettings.php:1) in /users/filmtheater/www/wiki/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /users/filmtheater/www/wiki/LocalSettings.php:1) in /users/filmtheater/www/wiki/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /users/filmtheater/www/wiki/LocalSettings.php:1) in /users/filmtheater/www/wiki/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /users/filmtheater/www/wiki/LocalSettings.php:1) in /users/filmtheater/www/wiki/includes/WebResponse.php on line 37

Even if I remove the change, the error is still there, only the original localSettings.php works.

87.123.21.228 (talkcontribs)

Unrelated to your question, MediaWiki 1.24 is no longer supported and has known security holes. For the security of your own data, you should upgrade MediaWiki to a supported version!

If you get an error in LocalSettings.php on line 1, then you most likely have edited the file with an editor, which silently adds a en:byte order mark . Such a sign at the beginning of the file can be invisible in the editor and can cause this problem. See the big red box in the manual page about LocalSettings.php! When you edit LocalSettings.php, make sure that you use an editor, which does _not_ add byte order marks to files.

This post was hidden by Ciencia Al Poder (history)
Reply to "After changing the localsettings.php always the same error"