#2085: Error in JS with unknown function at time of unload.
--------------------------------------------+-------------------------------
  Reporter:  Fil                            |       Owner:                    
      Type:  Bug                            |      Status:  new               
  Priority:  Normal                         |   Milestone:                    
 Component:  Project : MediaWiki+FCKeditor  |     Version:  SVN               
Resolution:                                 |    Keywords:  Pending WorksForMe
--------------------------------------------+-------------------------------
Comment (by Fil):

 I can confirm that I do not see any error when I look at the sandbox.

 The changes I have made to the LocalSettings.php (other than the usual
 sitename, email address etc;) are as follows:

 $wgDefaultSkin (we use a modified version of Fratman_enhanced.
 $wgUseAjax = true; (this was suggested as a possible fix to the issues I
 was having with the FCKeditor)

 then we have the include for the TopTenPages.php extension and the
 require_once call for the FCKeditor. I have posted the full file below.



 {{{
 <?php

 # This file was automatically generated by the MediaWiki installer.
 # If you make manual changes, please keep track in case you need to
 # recreate them later.
 #
 # See includes/DefaultSettings.php for all configurable settings
 # and their default values, but don't forget to make changes in _this_
 # file, not there.

 # If you customize your file layout, set $IP to the directory that
 contains
 # the other MediaWiki files. It will be used as a base to locate files.
 if( defined( 'MW_INSTALL_PATH' ) ) {
         $IP = MW_INSTALL_PATH;
 } else {
         $IP = dirname( __FILE__ );
 }

 $path = array( $IP, "$IP/includes", "$IP/languages" );
 set_include_path( implode( PATH_SEPARATOR, $path ) );

 require_once( "includes/DefaultSettings.php" );

 # If PHP's memory limit is very low, some operations may fail.
 # ini_set( 'memory_limit', '20M' );

 if ( $wgCommandLineMode ) {
         if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD',
 $_SERVER ) ) {
                 die( "This script must be run from the command line\n" );
         }
 } elseif ( empty( $wgNoOutputBuffer ) ) {
         ## Compress output if the browser supports it
         if( !ini_get( 'zlib.output_compression' ) ) @ob_start(
 'ob_gzhandler' );
 }

 $wgSitename         = "User Guide";
 $wgScriptPath         = "/guide";
 $wgScript           = "$wgScriptPath/index.php";
 $wgRedirectScript   = "$wgScriptPath/redirect.php";

 ## For more information on customizing the URLs please see:
 ## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
 ## If using PHP as a CGI module, the ?title= style usually must be used.
 $wgArticlePath      = "$wgScript/$1";
 # $wgArticlePath      = "$wgScript?title=$1";

 $wgStylePath        = "$wgScriptPath/skins";
 $wgStyleDirectory   = "$IP/skins";
 $wgLogo             = "$wgStylePath/common/images/wiki.png";
 $wgFavicon          = "/guide/wikipedia.ico";

 $wgUploadPath       = "$wgScriptPath/images";
 $wgUploadDirectory  = "$IP/images";

 $wgEnableEmail = true;
 $wgEnableUserEmail = false;

 $wgEmergencyContact = "[removed]";
 $wgPasswordSender       = "[removed]";

 ## For a detailed description of the following switches see
 ## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
 ## There are many more options for fine tuning available see
 ## /includes/DefaultSettings.php
 ## UPO means: this is also a user preference option
 $wgEnotifUserTalk = true; # UPO
 $wgEnotifWatchlist = true; # UPO
 $wgEmailAuthentication = true;

 $wgDBserver         = "localhost";
 $wgDBname           = "[removed for security]";
 $wgDBuser           = "[removed for security]";
 $wgDBpassword       = "[removed for security]";
 $wgDBprefix         = "";
 $wgDBtype           = "mysql";

 # Experimental charset support for MySQL 4.1/5.0.
 $wgDBmysql5 = false;

 ## Shared memory settings
 $wgMainCacheType = CACHE_NONE;
 $wgMemCachedServers = array();

 ## To enable image uploads, make sure the 'images' directory
 ## is writable, then set this to true:
 $wgEnableUploads                = true;
 $wgUseImageResize               = true;
 # $wgUseImageMagick = true;
 # $wgImageMagickConvertCommand = "/usr/bin/convert";

 ## If you want to use image uploads under safe mode,
 ## create the directories images/archive, images/thumb and
 ## images/temp, and make them all writable. Then uncomment
 ## this, if it's not already uncommented:
 # $wgHashedUploadDirectory = false;

 ## If you have the appropriate support software installed
 ## you can enable inline LaTeX equations:
 $wgUseTeX                = false;
 $wgMathPath         = "{$wgUploadPath}/math";
 $wgMathDirectory    = "{$wgUploadDirectory}/math";
 $wgTmpDirectory     = "{$wgUploadDirectory}/tmp";

 $wgLocalInterwiki   = $wgSitename;

 $wgLanguageCode = "en";

 $wgProxyKey =
 "151a078547cdd09d455b84986ad82001170c27204ee20cf3503bbee043ded188";

 ## Default skin: you can change the default skin. Use the internal
 symbolic
 ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
 $wgDefaultSkin = 'fratman_enhanced';

 ## For attaching licensing metadata to pages, and displaying an
 ## appropriate copyright notice / icon. GNU Free Documentation
 ## License and Creative Commons licenses are supported so far.
 # $wgEnableCreativeCommonsRdf = true;
 $wgRightsPage = ""; # Set to the title of a wiki page that describes your
 license/copyright
 $wgRightsUrl = "";
 $wgRightsText = "";
 $wgRightsIcon = "";
 # $wgRightsCode = ""; # Not yet used

 $wgDiff3 = "";

 # 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 );

 # Group permissions - added by Phil
 $wgGroupPermissions['*']['edit'] = false;
 $wgDefaultUserOptions ['editsection'] = false;

 $wgUseAjax = true;

 # Added all extension includes below here for safetys' sake
 include("extensions/TopTenPages.php");
 require_once $IP . "/extensions/FCKeditor/FCKeditor.php";
 ?>
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2085#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to