[RESOLVED] Shoutbox-Extension wont work
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:
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:
PHP: 5.3.15 (cgi-fcgi)
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
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)