Last modified: 2013-12-11 16:05:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60328, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58328 - Fatal exception of type MWException
Fatal exception of type MWException
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-11 13:48 UTC by Sandra
Modified: 2013-12-11 16:05 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sandra 2013-12-11 13:48:13 UTC
After having upgraded from mw1.19 til mw1.22 I

cd extensions
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git

and added

require_once "$IP/extensions/VisualEditor/VisualEditor.php";
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';

to LocalSettings.php as described at

http://www.mediawiki.org/wiki/Extension:VisualEditor

When I visit the wiki I get in the browser

[da26e58f] 2013-12-11 13:28:05: Fatal exception of type MWException

Using CentOS6 64bit
Comment 1 Andre Klapper 2013-12-11 14:19:06 UTC
(In reply to comment #0)
> After having upgraded from mw1.19 til mw1.22 I
> cd extensions
> git clone
> https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git

So you cloned git master of VisualEditor?

VisualEditor git master requires MW 1.23 - see https://www.mediawiki.org/wiki/Extension:VisualEditor

> [da26e58f] 2013-12-11 13:28:05: Fatal exception of type MWException

See https://www.mediawiki.org/wiki/Manual:How_to_debug
Comment 2 Sandra 2013-12-11 14:36:40 UTC
Hmmm. Do you know which commit that broke mw1.22 comparability? Because then I could just "git checkout" that version.

I don't see any extra debug info in the browser of httpd log by adding

error_reporting( -1 );
ini_set( 'display_errors', 1 );

to LocalSettings.php. Should I do more?
Comment 3 Andre Klapper 2013-12-11 15:26:20 UTC
(In reply to comment #2)
> to LocalSettings.php. Should I do more?

$wgShowExceptionDetails
Comment 4 Sandra 2013-12-11 15:37:21 UTC
Very useful variable =)

Does the following make sense?

[df264ef0] / Exception from line 3078 of /var/www/mediawiki-1.22.0/includes/GlobalFunctions.php: MediaWiki 1.23wmf2 required--this is only 1.22.0

Backtrace:

#0 /var/www/mediawiki-1.22.0/extensions/VisualEditor/VisualEditor.hooks.php(23): wfUseMW(string)
#1 [internal function]: VisualEditorHooks::onSetup()
#2 /var/www/mediawiki-1.22.0/includes/Setup.php(592): call_user_func(string)
#3 /var/www/mediawiki-1.22.0/includes/WebStart.php(153): require_once(string)
#4 /var/www/mediawiki-1.22.0/index.php(46): require(string)
#5 {main}
Comment 5 Bawolff (Brian Wolff) 2013-12-11 15:42:00 UTC
So yeah, VisualEditor is rather experimental and needs non-released versions to work. You can download either 1.23alpha (aka git master) via git or at https://toolserver.org/~krinkle/mwSnapshots/snapshots/mediawiki-core/mediawiki-latest.tar.gz , or the wmf/1.23wmf2 branch (or some other wmf branch greater than 1.23wmf2) via git. These are of course experimental versions of MediaWiki, so it may not be as stable.

You could also try downloading an earlier version of VisualEditor, if one is available.

---

Closing bug as INVALID since this isn't really a MW bug.
Comment 6 Sandra 2013-12-11 16:03:47 UTC
I would prefer to stay at mw1.22 and use an older visual editor, but finding the last git commit that broke mw1.22 is probably not easy.

When I look at the git snapshots I don't see anything in the extensions/.

Can you explain what I have to do to get all the files that makes up a full mw?
Comment 7 Andre Klapper 2013-12-11 16:05:09 UTC
As that's support, could you please raise this in https://www.mediawiki.org/wiki/Project:Support_desk ? Thanks for your understanding!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links