I have been trying to install two different extensions, VisualEditor and WikiLog and in each case I come up with seemingly similar errors. Details of my software versions are listed below.
Firstly, with WikiLog, I install the extension into the extensions directory, as per the official instruction. I verify that the directory name is correct. Then I copy the two lines of code from the instructions into LocalSettings.php, save it, and then got to localhost/(path)/mw-config. I get the following error:
Fatal error: Call to undefined method Wikilog::setupBlogNamespace() in C:\wamp\www\commonplace2\LocalSettings.php on line 152
When I follow a similar procedure with VisualEditor I get the following:
Warning: require_once(C:\wamp\www\commonplace2/extensions/VisualEditor/VisualEditor.php): failed to open stream: No such file or directory in C:\wamp\www\commonplace2\LocalSettings.php on line 156
Fatal error: require_once(): Failed opening required 'C:\wamp\www\commonplace2/extensions/VisualEditor/VisualEditor.php' (include_path='.;C:\php\pear') in C:\wamp\www\commonplace2\LocalSettings.php on line 156
What am I doing wrong?
Product | Version |
---|---|
MediaWiki | 1.26.2 |
PHP | 5.5.12 (apache2handler) |
MySQL | 5.6.17 |