mediawiki: blank page after install

by prettyscripts on 2008-07-01 11:57:50

wiki

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';

Tags: blank, fedora, mediawiki

No feedback yet

Leave a comment


Your email address will not be revealed on this site.
PoorExcellent
note: all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)