[RESOLVED] Shoutbox-Extension wont work

Jump to: navigation, search

Hello,

I'm not entirely new to MediaWiki but I recently started my very first on my own. Now this Wiki is for students of my university to have a basis to share documents like examns or other works. To give them an easy way to communicate with each other beside the official forum, I want to provide a Shoutbox at the main page of my Wiki.

I've created an account at Shoutbox.us and followed the steps that are listed on the Extension-article:

http://www.mediawiki.org/wiki/Extension:ShoutBox


However, after adding the require-function to my LocalSettings.php, my Wiki wont work and I receive the following message:


Deprecated: Call-time pass-by-reference has been deprecated in /home/www/cwcity/hosting/b/i/hph/htdocs/extensions/ShoutBox.php on line 214

Fatal error: Call to a member function addMessage() on a non-object in /home/www/cwcity/hosting/b/i/hph/htdocs/extensions/ShoutBox.php on line 77


My first thought (after checking wether I made a mistake) was that the version numbers weren't supported:


MediaWiki: 1.19.1

PHP: 5.3.15 (cgi-fcgi)

MySQL: 5.1.61-0+squeeze1-log


Since the extension is rather old, my version numbers are quite ahead of the minimum requirements of the extension.


Got any clue what might have gone wrong? Thanks, hpH

193.25.183.5212:27, 8 August 2012

Try using the version at http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ShoutBox/ instead.


The version you have probably has a line like $wgMessageCache->addMessage( ..) which support was dropped for sometime around 1.18 I think (It's very unclear why extensions were doing things like that, it shouldn't have been needed really ever)

Bawolff (talk)12:56, 8 August 2012

Cheers mate, it works.

BR, hpH

80.108.144.13916:40, 8 August 2012