Topic on Project:Support desk

Class 'ResourceLoaderWikiModule' not found in SyntaxHighlight GeSHi.local.php

3
Johnramey (talkcontribs)

I have just installed mediawiki on my Ubuntu 10.04 web server, and currently, I am the only one using this site. My intention has been to use MediaWIki in conjunction with WorkingWiki. Before installing WorkingWiki, I have followed the directions on the WorkingWiki installation page to install SyntaxHighlight GeSHi. To install the extension, I typed the following command while in the mediawiki/extensions directory on my web server:

svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SyntaxHighlight_GeSHi

Then, I added the following line to the end of my LocalSettings.php file:

require_once("$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php");

Once I installed the SyntaxHighlight GeSHi extension by following the above steps, I began receiving 500 Internal Server Errors. To display the errors, I added the following to my LocalSettings.php:

error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

I received the following error: Fatal error: Class 'ResourceLoaderWikiModule' not found in /var/lib/mediawiki/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.local.php on line 5

I am unsure of how to fix this, so your help would be greatly appreciated.

My PHP version is: PHP 5.3.2-1ubuntu4.10 I am using MySQL Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64).

Thank you.

MaxSem (talkcontribs)
Reply to "Class 'ResourceLoaderWikiModule' not found in SyntaxHighlight GeSHi.local.php"