Hi,
Sorry to bother again. I had a problem earlier today with Visual Editor and I'm back with an issue with Structured Discussions. I am new to development but I will try to give as much information and be as helpful as I can and I'm very thankful for any help that anyone can give me here.
I have installed Structured Discussion and all it's dependencies. It appears to work (except on pages which already had a talk page created). It appears to work but when I save I get the following error: [d72ee0ebef29271c08f75eaa] Exception caught: Call to undefined method Flow\Api\ApiFlowNewTopic::profileIn() I also only get that error because I added extra stuff to my LocalSettings.PHP.
The following is all my custom settings for LocalSettings.PHP
//- SKINS ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'vector', 'monobook': $wgDefaultSkin = "vector"; // load vector skin wfLoadSkin('Vector'); wfLoadSkin('foreground'); //- EXTENSIONS //-Visual editor wfLoadExtension('VisualEditor'); // Enable by default for everybody $wgDefaultUserOptions['visualeditor-enable'] = 1; // Optional: Set VisualEditor as the default for anonymous users // otherwise they will have to switch to VE // $wgDefaultUserOptions['visualeditor-editor'] = "visualeditor"; // Don't allow users to disable it $wgHiddenPrefs[] = 'visualeditor-enable'; // OPTIONAL: Enable VisualEditor's experimental code features #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1; $wgVirtualRestConfig['modules']['parsoid'] = array( // URL to the Parsoid instance // Use port 8142 if you use the Debian package 'url' => 'http://localhost:8000', // Parsoid "domain", see below (optional) 'domain' => 'wiki.jackalope.tech', // Parsoid "prefix", see below (optional) 'prefix' => 'wiki.jackalope.tech', ); //- Beta Features wfLoadExtension('BetaFeatures'); //- 2017 Wiki Text $wgVisualEditorEnableWikitext = true; $wgDefaultUserOptions['visualeditor-newwikitext'] = 1; $wgHiddenPrefs[] = 'visualeditor-newwikitext'; //- Code Mirror wfLoadExtension('CodeMirror'); $wgDefaultUserOptions['usecodemirror'] = 1; //- Echo Notifications wfLoadExtension('Echo'); //- CLDR (localizes based on location) wfLoadExtension('cldr'); //- Parser Functions wfLoadExtension('ParserFunctions'); $wgPFEnableStringFunctions = true; //- Structured Discussions wfLoadExtension('Flow'); $wgNamespaceContentModels[NS_TALK] = 'flow-board'; $wgNamespaceContentModels[NS_USER_TALK] = 'flow-board'; $wgNamespaceContentModels[NS_PROJECT_TALK] = 'flow-board'; $wgNamespaceContentModels[NS_CATEGORY_TALK] = 'flow-board'; $wgNamespaceContentModels[NS_USER] = 'flow-board'; $wgGroupPermissions['user']['flow-create-board'] = true; // $wgContentHandlerUseDB = false; //- CUSTOMIZATIONS //- Thumbnail Size $wgThumbLimits = array( 150, 250, 500, ); $wgDefaultUserOptions['thumbsize'] = 3; ///////////////////////// //-DISPLAY VERBOSE ERROR CODES error_reporting(-1); ini_set('display_errors', 1); $wgShowExceptionDetails = true; $wgShowDBErrorBacktrace = true;
I have searched around a bunch and tried to figure out what I'm missing. I ran rebuildContentModel.php on all pages, revisions, and archives. I've run the update.php script as instructructed. All other extensions installed appear to be working fine.
My Visual Editor set up might be a little odd. I'm not entirely sure I understand what was wrong with it. That issue can be reviewed here if it seems relevant: https://phabricator.wikimedia.org/T207504
I've restarted my nginx and parsoid instances etc. Still doesn't seem to work. Not sure what's up? Any clues?
Also this weekend I'm traveling so I won't be able to check back in with more info until Monday but I'm very thankful for any help that can be offered!