[Mediawiki-l] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/wiki/includes/Preprocessor_DOM.php

Helmut Schneider jumper99 at gmx.de
Wed Apr 16 08:54:25 UTC 2008


Brion Vibber <brion at wikimedia.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Helmut Schneider wrote:
>> Brion Vibber <brion at 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

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn 





More information about the MediaWiki-l mailing list