Thread:Project:Support desk/Why VisualEditor couldn't load

Hi

I install Parsoid in server and Extension:VisualEditor. logs in

[info][master][1526] initializing 4 workers [info][worker][1528] loading ... [info][worker][1529] loading ... [info][worker][1531] loading ... [info][worker][1530] loading ... [info][worker][1531] ready on :8142 [info][worker][1528] ready on :8142 [info][worker][1529] ready on :8142 [info][worker][1530] ready on :8142 Killed Cannot load local settings from /etc/mediawiki/parsoid/settings.js. Please see: /usr/lib/parsoid/src/api/localsettings.js.example [info][master][8552] initializing 4 workers [info][worker][8554] loading ... [info][worker][8555] loading ... [info][worker][8557] loading ... [info][worker][8556] loading ... [info][worker][8554] ready on :8142 [info][worker][8557] ready on :8142 [info][worker][8555] ready on :8142 [info][worker][8556] ready on :8142 [info][mediawiki/مدیاویکی?oldid=10] started parsing [warning/api/expandtemplates][mediawiki/مدیاویکی?oldid=10] Template Expansion Unrecognized values for parameter 'prop': modules, jsconfigvars [info][mediawiki/مدیاویکی?oldid=10] completed parsing in 1873 ms [info][mediawiki/بارگیری?oldid=3] started parsing [info][mediawiki/بارگیری?oldid=3] completed parsing in 1393 ms [info][mediawiki/مدیاویکی?oldid=10] started parsing [warning/api/expandtemplates][mediawiki/مدیاویکی?oldid=10] Template Expansion Unrecognized values for parameter 'prop': modules, jsconfigvars [info][mediawiki/مدیاویکی?oldid=10] completed parsing in 5645 ms [info][mediawiki/مدیاویکی?oldid=10] started parsing [warning/api/expandtemplates][mediawiki/مدیاویکی?oldid=10] Template Expansion Unrecognized values for parameter 'prop': modules, jsconfigvars [info][mediawiki/مدیاویکی?oldid=10] completed parsing in 1215 ms [info][mediawiki/Parsoid/نصب?oldid=169] started parsing [warning/api/expandtemplates][mediawiki/Parsoid/نصب?oldid=169] Template Expansion Unrecognized values for parameter 'prop': modules, jsconfigvars [info][mediawiki/Parsoid/نصب?oldid=169] completed parsing in 1523 ms [info][mediawiki/مدیاویکی?oldid=10] started parsing [warning/api/expandtemplates][mediawiki/مدیاویکی?oldid=10] Template Expansion Unrecognized values for parameter 'prop': modules, jsconfigvars [info][mediawiki/مدیاویکی?oldid=10] completed parsing in 9273 ms Killed [info][master][1749] initializing 4 workers

So me setup  as following

parsoidConfig.setInterwiki( 'mediawiki', 'http://mysite.com/mediawiki/api.php' ); in end Add the following lines to your wiki's  after you have downloaded the extension require_once "$IP/extensions/VisualEditor/VisualEditor.php"; // Enable by default for everybody $wgDefaultUserOptions['visualeditor-enable'] = 1; // Don't allow users to disable it $wgHiddenPrefs[] = 'visualeditor-enable'; // OPTIONAL: Enable VisualEditor's experimental code features // URL to the Parsoid instance // MUST NOT end in a slash due to Parsoid bug // Use port 8142 if you use the Debian package $wgVisualEditorParsoidURL = 'http://localhost:8142'; // Interwiki prefix to pass to the Parsoid instance // Parsoid will be called as $url/$prefix/$pagename $wgVisualEditorParsoidPrefix = 'mediawiki'; // Forward users' Cookie: headers to Parsoid. Required for private wikis (login required to read). // If the wiki is not private (i.e. $wgGroupPermissions['*']['read'] is true) this configuration // variable will be ignored. // // This feature requires a non-locking session store. The default session store will not work and // will cause deadlocks (connection timeouts from Parsoid) when trying to use this feature. $wgSessionsInObjectCache = true; // // WARNING: ONLY enable this on private wikis and ONLY IF you understand the SECURITY IMPLICATIONS // of sending Cookie headers to Parsoid over HTTP. For security reasons, it is strongly recommended // that $wgVisualEditorParsoidURL be pointed to localhost if this setting is enabled. $wgVisualEditorParsoidForwardCookies = true;
 * 1) $wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;

According to this configuration, visual editor not loading.

What should I do?