Topic on Extension talk:MsUpload

setting up MediaWiki on new server

2
Paperlessnow (talkcontribs)

I setup new instance of MediaWiki server on Linux. And copied all files and imported db file to this server. It was working.


Now today when I did the same I get following error:


[7f7385fdb49e4ad3c6e80aa1] /index.php/Main_Page MWException from line 187 of /opt/bitnami/mediawiki/includes/MagicWord.php: Error: invalid magic word 'idisplay'

Backtrace:

#0 /opt/bitnami/mediawiki/includes/MagicWordFactory.php(222): MagicWord->load(string)

#1 /opt/bitnami/mediawiki/includes/parser/Parser.php(4958): MagicWordFactory->get(string)

#2 /bitnami/mediawiki/extensions/iDisplay/iDisplay.php(25): Parser->setFunctionHook(string, string)

#3 /opt/bitnami/mediawiki/includes/Hooks.php(174): idisplay_Setup(Parser)

#4 /opt/bitnami/mediawiki/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)

#5 /opt/bitnami/mediawiki/includes/parser/Parser.php(384): Hooks::run(string, array)

#6 /opt/bitnami/mediawiki/includes/cache/MessageCache.php(1210): Parser->firstCallInit()

#7 /opt/bitnami/mediawiki/includes/cache/MessageCache.php(1186): MessageCache->getParser()

#8 /opt/bitnami/mediawiki/includes/Message.php(1291): MessageCache->transform(string, boolean, LanguageEn, Title)

#9 /opt/bitnami/mediawiki/includes/Message.php(895): Message->transformText(string)

#10 /opt/bitnami/mediawiki/includes/Message.php(955): Message->toString(string)

#11 /opt/bitnami/mediawiki/includes/OutputPage.php(902): Message->text()

#12 /opt/bitnami/mediawiki/includes/OutputPage.php(951): OutputPage->setHTMLTitle(Message)

#13 /opt/bitnami/mediawiki/includes/page/Article.php(621): OutputPage->setPageTitle(string)

#14 /opt/bitnami/mediawiki/includes/actions/ViewAction.php(68): Article->view()

#15 /opt/bitnami/mediawiki/includes/MediaWiki.php(499): ViewAction->show()

#16 /opt/bitnami/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)

#17 /opt/bitnami/mediawiki/includes/MediaWiki.php(865): MediaWiki->performRequest()

#18 /opt/bitnami/mediawiki/includes/MediaWiki.php(515): MediaWiki->main()

#19 /opt/bitnami/mediawiki/index.php(42): MediaWiki->run()

#20 {main}


Till now I was able to take a backup and recreate successfully in other server. But this error has terrorised me.


I try to put latest package of iDisplay extension. still same issue.

Kghbln (talkcontribs)

I am not absolutely sure why you are reporting the issue here for the MsUpload extension and not for the iDisplay extension. Anyways the latter has not been maintained for a while and no longer works. I recommend to uninstall it and use the "iframe" widget provided by the Widgets extension. This should make the issue go away - hopefully.

Reply to "setting up MediaWiki on new server"