MediaWiki Fatal Error

I have encountered this error in MediaWiki right after installing it on XAMPP Version 2.5.
Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in C:\xampp\htdocs\artwiki\includes\Preprocessor_DOM.php on line 566 Fatal error: Call to undefined method domdocument::loadXML() in C:\xampp\htdocs\artwiki\includes\Preprocessor_DOM.php on line 568
There was one post in english in some forum suggesting i should fix it with uncommenting in \apache\bin\php.ini the reference to the XML php DLL named php_domxml.dll while removing the semi column before this line ;extension=php_domxml.dll.
In my case this line had no semi column.
it was looking like a dead end.
Nothing came up on both the warning and the error besides 2 posts in forign languages and the post in apache friends which was not the case i was having.
Out of dispare to put the semi column back.
Restarted Apache and it worked!!
Now i can put or remove the semicolumn and nothing changes the site is up.

Speak Your Mind

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.