I run version 1.33.0 MediaWiki as a private Wiki and followed the installation guide for both Parsoid and VisualEditor. Upon finishing configuration I receive the following error when I click on edit on any existing page:
apierror-visualeditor-docserver-http: HTTP 500.
What I checked so far:
7.2 curl is installed
setMwApi is correctly set
My guess is the problem is within the configuration and therefore trouble with the API.
LocalSettings.php:
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';
#$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;
$wgVirtualRestConfig['modules']['parsoid'] = array(
'url' => 'http://xyz:8142',
'domain' => 'localhost',
'prefix' => 'localhost'
);
$wgVisualEditorAllowLossySwitching=false;
$wgSessionsInObjectCache = true;
$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;
config.yaml:
uri: 'http://xyz/mediawiki/api.php'
(only line that was configured)
Any help is greatly appreciated.