MediaWiki Extension problem

ususer

New member
Joined
Jan 3, 2009
Messages
4
Hi,
I'm trying to add an extension for the FCKeditor. I followed the directions on:
http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide

I get the below error: Anyone know what this could be?

Thanks.


Warning: require_once(extensions/FCKeditor/FCKeditor.php) [function.require-once]: failed to open stream: No such file or directory in /home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/LocalSettings.php on line 127

Fatal error: require_once() [function.require]: Failed opening required 'extensions/FCKeditor/FCKeditor.php' (include_path='/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki:/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/includes:/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/languages:.:/usr/local/lib/php') in /home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/LocalSettings.php on line 127
 
extensions/FCKeditor/FCKeditor.php does not exist :) Change the full path to the files.
 
extensions/FCKeditor/FCKeditor.php does not exist :) Change the full path to the files.

What's my full path?
In Local_Settings.php I have
if( defined( 'MW_INSTALL_PATH' ) ) {
$IP = MW_INSTALL_PATH;
} else {
$IP = dirname( __FILE__ );
}

So IP would be the Wiki main directory
then my full path should be:
require_once($IP."/extensions/FCKeditor/FCKeditor.php");
Anyhow this doesn't work...
 
What's my full path?
In Local_Settings.php I have
if( defined( 'MW_INSTALL_PATH' ) ) {
$IP = MW_INSTALL_PATH;
} else {
$IP = dirname( __FILE__ );
}

So IP would be the Wiki main directory
then my full path should be:
require_once($IP."/extensions/FCKeditor/FCKeditor.php");
Anyhow this doesn't work...



Ok...I believe this is the code I should have:
# FCKeditor settings
#Enable use of AJAX features FIRST.
$wgUseAjax = true;
#Include the FCKeditor extension
require_once( "$IP/extensions/FCKeditor/FCKeditor.php" );

reason being is that
require_once( "$IP/includes/DefaultSettings.php" );

The includes directory is as the same level as the extensions...so if the above line is correct then $IP/extensions... should also work...
but I still get an error:

Warning: require_once(/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/extensions/FCKeditor/FCKeditor.php) [function.require-once]: failed to open stream: No such file or directory in /home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/LocalSettings.php on line 130

Fatal error: require_once() [function.require]: Failed opening required '/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/extensions/FCKeditor/FCKeditor.php' (include_path='/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki:/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/includes:/home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/languages:.:/usr/local/lib/php') in /home/cstmensc/domains/cstmensclub.com/public_html/cstwiki/LocalSettings.php on line 130
 
Back
Top