Blank page after install

Jump to: navigation, search

I installed mediawiki via the installer and all went fine just until the end. When I clicked the link that should take me to my main page, I only get a completely white page. See for yourself: http://mdi-de.baw.de/mediawiki/index.php5/Hauptseite

Firebug shows a 500 - internal server error, which doesn't help much.

I also searched for this problem already and found two solutions that both aren't working for me:

  • Make sure the LocalSettings.php is in the main mediawiki directory and is set to chmod 755
    • done and done - but to no avail
  • Add $wgParserConf['preprocessorClass'] = 'Preprocessor_Hash'; to the LocalSettings.php file
    • did that too and again, no luck

As a mediawiki (and general server admin) newbie I'm running out of ideas here.

Any help would be greatly appreciated!

195.37.166.24516:04, 15 November 2011

Sorry, I'm not more positive but the "Mediawiki" in the URL doesn't look right. You might have a path problem.

Mlpearc powwow18:03, 15 November 2011

If someone wants to put MediaWiki into /mediawiki, I don't think the software has a problem with that.

Reach Out to the Truth19:33, 15 November 2011

The best course of action would be to check your server logs--specifically, your web server log to find out what is causing the 500 error. Since it appears you are running Apache and Linux the log is most likely in /var/log/httpd*.

   Thorncrag  20:21, 15 November 2011

What Thorncrag said, but in addition to your apache log, you should also check your php error log. See Manual:How to debug (500 with a totally blank page tends to be php error log, while 500 with a message about how a 500 error happened tends to be apache in my experience, but it certainly could be either).

Bawolff18:36, 16 November 2011
 

I don't think it would either, but it seems if that was not intentional it could of been a problem.

Mlpearc powwow03:36, 17 November 2011

Thanks for the help! Found out the ctype_digit() function from php was missing in our installation. Could add it and now it works. :)

195.37.166.24510:06, 22 November 2011

Thanks. I added a test for this situation in the installer (in MW 1.19) (in rev:104039 )

Bawolff14:34, 23 November 2011
 

Hi. I have the same problem... what I need to do to "add ctype_digit() function" for the wiki works ? Need recompile php5 ? Please.

tks.

170.210.218.3523:13, 15 December 2011

If you have a blank page 500 error, It is rather unlikely to be caused by the ctype issue. Instead look at manual:How to debug and try to find the actual php error. (If you actually have an error message Fatal error: Call to undefined function ctype_digit() in... then yes you'd have to re-compile php. See http://ca.php.net/manual/en/ctype.setup.php . Note however, ctype_digit is included in the default compilation options, so you'd have to explicitly disable it for it not to be included.)

Bawolff18:56, 16 December 2011