Topic on Extension talk:Scribunto

Uncaught Exception: extension.json does not exist.

2
Programjoel (talkcontribs)

I just installed Scribunto to use infoboxes templates on my mediawiki. When I run my freshly installed mediawiki (latest version) I get this php error message:

Fatal error: Uncaught Exception: /htdocs/wiki/extensions/Scribunto/extension.json does not exist! in /htdocs/wiki/includes/registration/ExtensionRegistry.php:106 Stack trace: #0 /htdocs/wiki/includes/GlobalFunctions.php(115): ExtensionRegistry->queue('/htdo...') #1 /htdocs/wiki/LocalSettings.php(125): wfLoadExtension('Scribunto') #2 /opt/lampp/htdocs/wiki/includes/WebStart.php(124): require_once('/htdo...') #3 /htdocs/wiki/index.php(40): require('/htdo...') #4 {main} thrown in /htdocs/wiki/includes/registration/ExtensionRegistry.php on line 106

My loadsettings.php contents:(with sensitive info removed)

<?php

if ( !defined( 'MEDIAWIKI' ) ) {

exit;

}

$wgSitename = "";

$wgScriptPath = "/wiki";

$wgServer = "";

$wgResourceBasePath = $wgScriptPath;

$wgLogo = "$wgResourceBasePath/resources/assets/wiki.png";

$wgEnableEmail = true;

$wgEnableUserEmail = true;

$wgEmergencyContact = "";

$wgPasswordSender = "";

$wgEnotifUserTalk = false;

$wgEnotifWatchlist = false;

$wgEmailAuthentication = true;

$wgDBtype = "";

$wgDBserver = "";

$wgDBname = "";

$wgDBuser = "";

$wgDBpassword = "";

$wgDBprefix = "";

$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";

$wgDBmysql5 = false;

$wgMainCacheType = CACHE_NONE;

$wgMemCachedServers = [];

$wgEnableUploads = true;

$wgUseInstantCommons = false;

$wgShellLocale = "en_US.utf8";

$wgLanguageCode = "en";

$wgSecretKey = "";

$wgAuthenticationTokenVersion = "1";

$wgUpgradeKey = "";

$wgRightsPage = "";

$wgRightsUrl = "https://creativecommons.org/licenses/by/4.0/";

$wgRightsText = "Creative Commons Attribution";

$wgRightsIcon = "$wgResourceBasePath/resources/assets/licenses/cc-by.png";

$wgDiff3 = "/usr/bin/diff3";

$wgDefaultSkin = "vector";

wfLoadSkin( 'CologneBlue' );

wfLoadSkin( 'Modern' );

wfLoadSkin( 'MonoBook' );

wfLoadSkin( 'Vector' );

wfLoadExtension( 'ParserFunctions' );

wfLoadExtension( 'Scribunto' );

Anomie (talkcontribs)
Reply to "Uncaught Exception: extension.json does not exist."