Articles in the PHP Category
PHP »
I had a mediawiki 1.12.0 running on XAMPP 1.6.5.
Then I decided to upgraded to XAMPP 1.6.7 for another project and suddenly I got the following error message:
Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in C:\Users\sebastian\Documents\projects\albawiki\mediawiki\includes\Preprocessor_DOM.php on line 566
Fatal error: Call to undefined method domdocument::loadXML() in C:\Users\sebastian\Documents\projects\albawiki\mediawiki\includes\Preprocessor_DOM.php on line 568
The problem is, that mediawiki cannot find the DOM XML Parser in the new PHP Version.
This bug was fixed in version 1.13.0 according to the 1.13 release announcement:
Changes since release candidate MediaWiki 1.13.0rc2:
* (bug 13770) Fixed incorrect detection of PHP’s …
