Last modified: 2007-01-30 19:37:56 UTC
After I installed Contributors.php extension, I got following Fatal error: Class 'IncludableSpecialPage' not found in /domains1/lt618000/public/wiki/extensions/Contributors.page.php on line 10 The problem was promptly solved by adding require_once( "includes/AutoLoader.php" ); at the top of LocalSettings.php. However, there must be some problem with the order of includes. I am using MediaWiki: 1.9.1, PHP: 5.1.4 (apache2handler) and MySQL: 5.0.22 .
Please detail the method used to install the extension.
i should have asked this when the probelem was reported on IRC... anyway: where in your LocalSettings.php did you included Contributors.php? Custom settings and extensions should always be at the *bottom* of LocalSettings.php.
This is the bottom of my LocalSettings.php: # When you make changes to this configuration file, this will make # sure that cached pages are cleared. $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch = max( $wgCacheEpoch, $configdate ); require_once( "extensions/Cite.php" ); require_once( "extensions/Contributors.php" ); require_once( "extensions/Contributors.page.php" ); require_once( "extensions/Contributors.i18n.php" ); require_once( "extensions/Expr.php" ); require_once( "extensions/ParserFunctions.php" ); require_once( "extensions/SprintfDateCompat.php" ); ?> All extensions are located in extensions directory. I didn't make any further modifications of these extensions nor original mediawiki files.
(In reply to comment #3) > require_once( "extensions/Contributors.page.php" ); > require_once( "extensions/Contributors.i18n.php" ); Remove these lines. All extensions I write have only one entry point.