Topic on Project:Support desk

Wolfcu69 (talkcontribs)

I loaded the Visual Editor extension. But when I select edit, I get the following error. I am using MediaWiki 1.37.1. According to the documentation (Extension:VisualEditor), it appears that once you load the VisualEditor extension, no further configuration is needed unless I am missing something. Any thoughts?

Error Message

Error contacting the Parasoid/Restbase server: http-bad status.

Malyacko (talkcontribs)
Wolfcu69 (talkcontribs)

Unfortunately parse.php --help fails with the following error so the debugging tools are not helpful.


D:\VyGuideWiki\vendor\wikimedia\parsoid>php bin/parse.php --help

PHP Warning:  require_once(D:\VyGuideWiki\vendor\wikimedia\parsoid\tools/../vendor/autoload.php): failed to open stream: No such file or directory in D:\VyGuideWiki\vendor\wikimedia\parsoid\tools\Maintenance.php on line 117

PHP Fatal error:  require_once(): Failed opening required 'D:\VyGuideWiki\vendor\wikimedia\parsoid\tools/../vendor/autoload.php' (include_path='.;C:\php\pear') in D:\VyGuideWiki\vendor\wikimedia\parsoid\tools\Maintenance.php on line 117

Toastronaut (talkcontribs)

I'm facing a similar issue with 1.37.1. The specific error message I get is Parsoid/RESTBase timeout was reached. I am running this through the official docker image with a private wiki setup. I've also tried the parse.php script and got the same error as @Wolfcu69.

I tried the php bin/parse.php --integrated line from the same page and got an error that Parsoid wasn't loaded. I tried loading the Parsoid extension explicitly in LocalSettings.php, but that didn't work. That makes me think the original error that Parsoid wasn't loaded is an issue with the parse.php script.

I found a number of issues with 1.35 that mention the same error, but they all recommend changing the $wgVirtualRestConfig['modules']['parsoid'] value. As far as I understand, that shouldn't be necessary with 1.37.1. (I tried the changes anyway and got nowhere).

Nicolas senechal (talkcontribs)

Hello, I have the same with mysql database and the wikimedia 1.37.1, I have a "Parsoid/RESTBase server (HTTP 500)" error , I don't have any other specification.

177.200.199.84 (talkcontribs)

Same here.

>Private wiki

-Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server

Not a single solution provided worked.

Nicolas senechal (talkcontribs)

I resolved it, look to your php should be PHP 7.3 or later (now I have a PHP 8.1.2 and it works well) But I have an error to load with templates (probably me with a bad template)

177.200.199.84 (talkcontribs)
Nicolas senechal (talkcontribs)

I work on XAMPP so I can’t help you if it’s still there…

Toastronaut (talkcontribs)

@Nicolas senechal, It looks like the docker image (1.37.1) is using PHP 7.4.27, so I'm guessing that's not the problem/solution for 177.200.199.84 and I. I'm going to try to get something going with the link that 177.200.199.84 linked. I don't like the idea of modifying/extending the base image in order to solve this, this feels like something that should work with only modifications to LocalSettings.php.

143.0.87.122 (talkcontribs)

Ok 177.200.199.84 again here. Good news, have tried again today.

I used nginx to give the new container a subdomain like: mediawikitest.mydomain.com

and changed the $wgServer to "mediawikitest.mydomain.com " and now its runing.

just a simple thing and i have lost days at the start of the year, lol.

Reply to "Visual Editor"