Brion Vibber brion@wikimedia.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Helmut Schneider wrote:
Brion Vibber brion@wikimedia.org wrote:
after upgrading from 1.11 to 1.12 on FreeBSD6.3 I get the error message above. I found a solution here:
http //www.mediawiki.org/wiki/Project:Support_desk#.28RESOLVED.29_PHP_Fat
al_e ror:__Class_.27DOMDocument.27_not_found_in_.2Fvar.2Fwww.2Fhtml.2Fwik i.2Fincludes.2FPreprocessor_DOM.php_on_line_566 $wgParserConf['preprocessorClass'] = 'Preprocessor_Hash'; I just would like to know if this is a confirmed bug or rather a "local problem". php-xml is installed.
What version of PHP?
5.2.5
For some bizarre reason, the port maintainers for FreeBSD have disabled *default* modules in PHP5 such as the DOM module, and rolled it to a separate port, php5-dom.
Indeed, php5-dom seems to be a missing requirement. After installing it everything is fine.
Thanks, Helmut