Topic on Project:Support desk

MyWiki: Database Error & Unknown bug

10
Suriyaa (talkcontribs)
Florianschmidtwelzow (talkcontribs)

Hello,

maybe you can say, which extension(s) you have installed? Does they need a database update (it seems so)? Have you run update.php (or the webinstaller) to adjust the database schema to fit the new extensions?

88.130.114.167 (talkcontribs)

And you want to add $wgGitBin = false; to LocalSettings.php to eliminate that error you currently get in top of Special:Version.

Suriyaa (talkcontribs)

I installed this extensions for MyWiki (on 10/31/2014):

  • wikihiero
  • CheckUser
  • Collection
  • FlaggedRev
  • GlobalUsage
  • Interwiki
  • MassMessage
  • Nuke
  • RenameUser
  • TemplateSandbox
  • UserMerge
  • Poem
  • ParserFunctions
  • Math
  • InputBox
  • ImageMap
  • CharInsert
  • CategoryTree
  • Babel
  • Scribunto
  • AbuseFilter
  • ApiSandbox
  • AntiSpoof
  • AntiBot
  • AccountAudit
  • ConfirmEdit
  • TitleBlacklist
  • TorBlock
  • GettingStarted
  • PageImages
  • CentralNotice
  • CodeEditor

Well, some of them need a database update and I didn't run update.php because MyWiki is hosted by an external hoster not myself. Also I don't now how to use the WebInstaller. :-(

88.130.92.147 (talkcontribs)
Suriyaa (talkcontribs)
88.130.102.137 (talkcontribs)

Going through the installer, I currently see these two errors:

Original exception: [baf46224] /wiki/mw-config/?page=ExistingWiki Exception from line 182 of /users/suriyaakudo/www/wiki/includes/Hooks.php: Invalid callback in hooks for ParserFirstCallInit

Backtrace:
#0 /users/suriyaakudo/www/wiki/includes/GlobalFunctions.php(4013): Hooks::run(string, array, NULL)
#1 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(275): wfRunHooks(string, array)
#2 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(287): Parser->firstCallInit()
#3 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(4825): Parser->clearState()
#4 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(367): Parser->startParse(Title, ParserOptions, integer, boolean)
#5 /users/suriyaakudo/www/wiki/includes/installer/Installer.php(605): Parser->parse(string, Title, ParserOptions, boolean)
#6 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(681): Installer->parse(string, boolean)
#7 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(391): WebInstaller->getInfoBox(string)
#8 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(379): WebInstaller_ExistingWiki->showKeyForm()
#9 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(283): WebInstaller_ExistingWiki->execute()
#10 /users/suriyaakudo/www/wiki/mw-config/index.php(63): WebInstaller->execute(array)
#11 /users/suriyaakudo/www/wiki/mw-config/index.php(31): wfInstallerMain()
#12 {main}

Exception caught inside exception handler: [296664c3] /wiki/mw-config/?page=ExistingWiki Exception from line 182 of /users/suriyaakudo/www/wiki/includes/Hooks.php: Invalid callback in hooks for ParserCloned

Backtrace:
#0 /users/suriyaakudo/www/wiki/includes/GlobalFunctions.php(4013): Hooks::run(string, array, NULL)
#1 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(257): wfRunHooks(string, array)
#2 /users/suriyaakudo/www/wiki/includes/cache/MessageCache.php(1030): Parser->__clone()
#3 /users/suriyaakudo/www/wiki/includes/cache/MessageCache.php(1000): MessageCache->getParser()
#4 /users/suriyaakudo/www/wiki/includes/Message.php(977): MessageCache->transform(string, boolean, Language, NULL)
#5 /users/suriyaakudo/www/wiki/includes/Message.php(669): Message->transformText(string)
#6 /users/suriyaakudo/www/wiki/includes/Message.php(732): Message->toString()
#7 /users/suriyaakudo/www/wiki/includes/exception/MWException.php(120): Message->text()
#8 /users/suriyaakudo/www/wiki/includes/exception/MWException.php(225): MWException->msg(string, string, string)
#9 /users/suriyaakudo/www/wiki/includes/exception/MWException.php(260): MWException->reportHTML()
#10 /users/suriyaakudo/www/wiki/includes/exception/MWExceptionHandler.php(44): MWException->report()
#11 /users/suriyaakudo/www/wiki/includes/exception/MWExceptionHandler.php(139): MWExceptionHandler::report(MWException)
#12 [internal function]: MWExceptionHandler::handle(MWException)
#13 {main}
88.130.102.137 (talkcontribs)

I am pretty sure that these issues are caused by an extension. Try deactivating half of your extensions and see, if the issue (e.g. the first issue) is then no longer present. If so, it is caused by the deactivated half; if not it is caused by the other half. Continue bisecting the according extensions until you know, which extensions are causing the issue!

Reply to "MyWiki: Database Error & Unknown bug"