Last modified: 2014-05-18 20:32:40 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 T67461, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65461 - Fatal error: Class 'Wikibase\TemplateRegistry' not found
Fatal error: Class 'Wikibase\TemplateRegistry' not found
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikibaseDatabase (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-18 17:26 UTC by Ori Livneh
Modified: 2014-05-18 20:32 UTC (History)
3 users (show)

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


Attachments
Error log from running update.php after installing Wikibase (3.82 KB, application/octet-stream)
2014-05-18 17:26 UTC, Ori Livneh
Details

Description Ori Livneh 2014-05-18 17:26:33 UTC
Created attachment 15433 [details]
Error log from running update.php after installing Wikibase

Running update.php after installing WikiBase fails with:

Fatal error: Class 'Wikibase\TemplateRegistry' not found in /vagrant/mediawiki/extensions/Wikibase/lib/WikibaseLib.php on line 95

Full log attached.

Settings:
include_once "$IP/extensions/Wikibase/Wikibase.php";
$wgContentHandlerUseDB = true;

WikiBase @2ae40f3a6f5b7 (latest revision at the time of bug report)

https://gerrit.wikimedia.org/r/#/c/46031/ purports to be a fix, but doesn't work for me.
Comment 1 Marius Hoch 2014-05-18 17:29:04 UTC
Seems like you forgot to run composer, that should create the classmap the way you need it.
Comment 2 Marius Hoch 2014-05-18 17:29:46 UTC
Documentation can be found on https://www.mediawiki.org/wiki/Wikibase/Installation
Comment 3 Jeroen De Dauw 2014-05-18 20:32:40 UTC
Please see the top of the file you are including.

https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/Wikibase.php

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


Navigation
Links