After installing the lastest version of MediaWiki (V1.12.0), a blank page is displayed when accessing the site.
PHP error log shows:
PHP Fatal error: Class ‘DOMDocument’ not found in /path/to/wiki/includes/Preprocessor_DOM.php on line 566, referer: http://path/to/wiki/config/index.php
Previous versions didn’t have this problem.
This was installed on Fedora Core 5 server. After some researches, I found that you need to install php-xml component.
Run (as root):
yum install php-xml /etc/init.d/httpd restart
I don’t have root access to that particular server, so i found an alternate quick fix. add the following to LocalSettings.php:
$wgParserConf['preprocessorClass'] = 'Preprocessor_Hash';