by prettyscripts on 2008-07-01 11:57:50
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 to 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';