Topic on Project:Support desk

Blank page after install

10
195.37.166.245 (talkcontribs)

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!

FlightTime (talkcontribs)

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

Reach Out to the Truth (talkcontribs)

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

Thorncrag (talkcontribs)

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*.

Bawolff (talkcontribs)

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).

FlightTime (talkcontribs)

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

195.37.166.245 (talkcontribs)

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

Bawolff (talkcontribs)

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

170.210.218.35 (talkcontribs)

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.

Bawolff (talkcontribs)

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.)

Reply to "Blank page after install"