Page MenuHomePhabricator

VisualEditor won't start - With correct config
Closed, DeclinedPublic

Description

Author: petter.viippola

Description:
I've done these steps and VisualEditor still dosen't work. There seems to be a problem with loading VisualEditor. I can only edit source, the command edit isn't possible to use. I've removed all the Parsoid options.

cd extensions
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git
cd VisualEditor
git submodule update --init

require_once("$IP/extensions/VisualEditor/VisualEditor.php");

$wgDefaultUserOptions['visualeditor-enable'] = 1;

$wgHiddenPrefs[] = 'visualeditor-enable';

Everything else seems to be working the wiki, with got it ad-connected. Can there be any issues regarding to that?

Best regards
Petter


Version: unspecified
Severity: major
OS: Linux
Platform: PC

Details

Reference
bz64428

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:21 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz64428.

Does VisualEditor show up on Special:Version?

If no, are there entries in your PHP error logs on the server?

If yes, are there errors in your JS console on your client when you open a page?

(What browser are you using? Note that Internet Explorer and a number of other elderly browser versions don't work with VisualEditor yet.)

petter.viippola wrote:

I can look tomorrow when i get back to work.

The logs dosen't give any intresseting entries about problems with loading the VisualEditor.
There is no errors when i open a page, log in et.c. That's the strange part.

We have tried with chrome/"the wrong ie8". I noticted it wasn't supported by IE, so we tried chrome but it was the same result.

Best Regards

Petter

petter.viippola wrote:

[Mon Apr 28 14:39:36 2014] [error] [client 10.1.101.39] PHP Notice: Undefined index: visualeditor-enable-language in /var/www/mediawiki-1.22.5/extensions/VisualEditor/VisualEditor.hooks.php on line 402, referer:http://wiki.ad.xxxxxx.se/index.php?title=SpaceClaim&action=edit

This is the only error we get in the httpd, error.log.

Best Regards

Petter

petter.viippola wrote:

We are getting some other strange errors if we try with chrome on a testclient.
server:parsoidserver-http-curl-error: couldn't connect to host.

Does this mean we have the wrong configuration in the localsettings.js file?

Best regards
Petter

Did this issue get resolved? I'm tempted to mark these sorts of entries as resolved worksforme.