Topic on Project:Support desk

Error installing Wikibase: cannot acces database

2
Benet tallaferro (talkcontribs)

Hi Everybody,

in advance, thankyou for reading me.

I want to install the extension: wikibase, since I need it in order to use Template:Infobox person .

I copy the extension folder into wiki/extension/ folder, and I copy the following lines to the LocalSettings.php file, as it is recommended in the installation guide.

$wgEnableWikibaseRepo = false;

$wgEnableWikibaseClient = true;

require_once "$IP/extensions/Wikibase/client/WikibaseClient.php";

require_once "$IP/extensions/Wikibase/client/ExampleSettings.php";

And still I am getting the error message: Sorry, we have problems. Cannot acces the database.

What can I do?

Thankyou for your attention,

Jordi

Ciencia Al Poder (talkcontribs)

Are you really sure you need to have wikibase in order to use Template:Infobox person? Wikipedia uses it, but if you plan to have this template in a personal wiki outside Wikipedia, you probably don't want to have a wikibase instance :)

In that case, try to find what parts of the template require wikibase, and remove them, or adapt it so it only use the parameters provided to the template instead of trying to connect to a remote repository.