Last modified: 2010-05-15 15:48:26 UTC
I installed MediaWiki 1.5beta1 on an Apache/1.3.29 (Unix) environment with CGI
PHP Version 4.3.10 and external MySQL 4.0.20 (not localhost).
After installation page rendering, login and user account creation worked OK.
When I wanted to restrict the page access (see bottom *),
- loading new (uncached) pages resulted in a white page containing the letters
"ï»¿" before redirecting to the actual page.
- trying to login resulted in an empty page without any redirection, making it
impossible to login.
Undoing all the changes in DefaultSettings.php and LocalSettings.php did NOT fix
I tried as well with Firefox (1.0.4) and with Internet Explorer (6.0) from
*Access restriction was done:
by commenting (#) the following lines in DefaultSettings.php :
#$wgGroupPermissions['*' ]['createaccount'] = true;
#$wgGroupPermissions['*' ]['read'] = true;
#$wgGroupPermissions['*' ]['edit'] = true;
and entering the following lines into LocalSettings.php :
# Pages anonymous (not-logged-in) users may see
$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help");
Make sure your text editor has not added a byte order mark to the beginning of any of the files, and delete it if there is one.
I did the same with MediaWiki 1.9.0 and encountered the same problem. Problem
appears only on Internet Explorer 6.0+ (with firefox everything works fine).
I edited files using FAR - it does not add anything extra.
If you have the same problem, then you *do* have a BOM added. Remove it.