Topic on Extension talk:VisualEditor

Fresh installed MediaWiki 1.28 with Visual Editor

3
181.64.3.16 (talkcontribs)

I just installed a private wiki, parsoid, tests ok. But now where is the page to test parsoid, used to be http://host:8000 and then you could test it, or with http://host:8000/_wikitext, that is not possible any more.

Number 2, when I activate the Visual Editor in LocalSettings.php (wfLoadExtension( 'VisualEditor' );) I get an error on the Browser:

The 192.168.88.20 page isn’t working

192.168.88.20 is currently unable to handle this request. HTTP ERROR 500

And the log file says: [Mon Dec 26 03:18:23.192089 2016] [:error] [pid 433] [client 192.168.88.133:62763] PHP Warning: filemtime(): stat failed for /var/www/html/wiki/extensions/VisualEditor/extension.json in /var/www/html/wiki/includes/registration/ExtensionRegistry.php on line 105 [Mon Dec 26 03:18:23.192339 2016] [:error] [pid 433] [client 192.168.88.133:62763] PHP Fatal error: Uncaught exception 'Exception' with message 'Couldn't stat /var/www/html/wiki/extensions/VisualEditor/extension.json: filemtime(): stat failed for /var/www/html/wiki/extensions/VisualEditor/extension.json' in /var/www/html/wiki/includes/registration/ExtensionRegistry.php:111\nStack trace:\n#0 /var/www/html/wiki/includes/GlobalFunctions.php(116): ExtensionRegistry->queue('/var/www/html/w...')\n#1 /var/www/html/wiki/LocalSettings.php(155): wfLoadExtension('VisualEditor')\n#2 /var/www/html/wiki/includes/WebStart.php(124): require_once('/var/www/html/w...')\n#3 /var/www/html/wiki/index.php(40): require('/var/www/html/w...')\n#4 {main}\n thrown in /var/www/html/wiki/includes/registration/ExtensionRegistry.php on line 111

Using CentOS 7.3, MediaWiki 1.28.0, Parsoid installed: yum install -y nodejs npm vim-enhanced git policycoreutils-python cd /opt git clone https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid cd /opt/parsoid npm install Visual Editor for MW 1.28.0

So any idea what is wrong? Thank you.

Knixmaster (talkcontribs)

Can you post your adds to your LocalSettings.php ?

Seb35 (talkcontribs)

Don’t know if the problem is solved, the log "filemtime(): stat failed for /var/www/html/wiki/extensions/VisualEditor/extension.json" means the extension (here VisualEditor) is not installed or don’t have an extension.json. Verify the extension is installed, and verify the version of the extension is corresponding to the MediaWiki version. For the second check, if you installed with Git, check the branch you are using (REL1_XX); if you installed with a .tar.gz from MediaWiki.org/ExtensionDistributor, the easier path is to re-download the extension from MediaWiki.org/ExtensionDistributor with the version corresponding to your MediaWiki version.

Reply to "Fresh installed MediaWiki 1.28 with Visual Editor"