Extension talk:InterwikiList
Add topicAfter install, selecting Special pages has error
[edit]After I installed InterwikiList I get the following messages when I try to go to Special pages:
Warning: require(/usr/share/mediawiki-extensions/InterwikiList/Interwikilist_body.php) [function.require]: failed to open stream: No such file or directory in /usr/share/mediawiki/includes/AutoLoader.php on line 409
Fatal error: require() [function.require]: Failed opening required '/usr/share/mediawiki-extensions/InterwikiList/Interwikilist_body.php' (include_path='/var/lib/mediawiki:/var/lib/mediawiki/includes:/var/lib/mediawiki/languages:.:/usr/share/php:/usr/share/pear:/usr/share/mediawiki-extensions/include') in /usr/share/mediawiki/includes/AutoLoader.php on line 409
Line 409 is require( $filename ); in the following snippet:
# Make an absolute path, this improves performance by avoiding some stat calls if ( substr( $filename, 0, 1 ) != '/' && substr( $filename, 1, 1 ) != ':' ) { global $IP; $filename = "$IP/$filename"; } require( $filename ); wfProfileOut( __METHOD__ );
I hope this can be fixed, having an interwiki list would be great.
Randy
- Check out your LocalSettings and directory name. There was a capitalization error in my instructions, which would cause it to not include. Double check to make sure the capitalization is all correct, then let me know. ^demon 22:36, 29 March 2008 (UTC)
Followed your instructions rather than the way Sidux has files located but still same problem just shows a different location for Interwikilist_body.php. New Messages:
Warning: require(/var/lib/mediawiki/extensions/Interwikilist/Interwikilist_body.php) [function.require]: failed to open stream: No such file or directory in /usr/share/mediawiki/includes/AutoLoader.php on line 409
Fatal error: require() [function.require]: Failed opening required '/var/lib/mediawiki/extensions/Interwikilist/Interwikilist_body.php' (include_path='/var/lib/mediawiki:/var/lib/mediawiki/includes:/var/lib/mediawiki/languages:.:/usr/share/php:/usr/share/pear:/usr/share/mediawiki-extensions/include') in /usr/share/mediawiki/includes/AutoLoader.php on line 409
Randy
- That is odd indeed. What version of Mediawiki are you running? The following is /exactly/ what I have on my localhost, which is running the latest SVN checkouts of MW: require_once( "$IP/extensions/Interwikilist/Interwikilist.php" );. Hope we can get this working for you. ^demon
- Found the problem, (on my end), I forgot to include "_" in the file "Interwikilist_body.php" when I saved the file. Did a quick rename and it now works. Sorry for any problems. Randy
- Great! Glad to know it's working. ^demon 23:30, 11 April 2008 (UTC)
- Found the problem, (on my end), I forgot to include "_" in the file "Interwikilist_body.php" when I saved the file. Did a quick rename and it now works. Sorry for any problems. Randy