Whenever I add FCKeditor to my LocalSettings.php file, the resulting page comes up without FCKeditor and is missing the edit box as well. I installed Firebug and loaded an edit page which resulted in the following output to Firebug's console:
~~~~~~~~~
syntax error
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...TR/xhtml1/DTD/xhtml1-transitional.dtd">\n
FCKeditor is not defined
[Break on this error] var oFCKeditor = new FCKeditor( "wpTextbox1" ) ;
oFCKeditor is undefined
[Break on this error] oFCKeditor.Height = height ;
~~~~~~~~~~
The console states the syntax error is originating from fckeditor.js, line 1. I looked through an html syntax tutorial and it seems as though this doctype tag is fine. Not sure what firebug is complaining about.
The undefined call to FCKeditor is from line 82 of FCKeditor/FCKeditor.body.php. This baffles me since LocalSettings.php loads --> FCKeditor/FCKeditor.php, which loads --> FCKeditor/fckeditor/fckeditor.php, which loads --> fckeditor_php5.php. It looks like this last file declares the FCkeditor class and constructor. After all of this FCkeditor.php loads the offending file, FCkeditor.body.php. Why would the FCKeditor class be undefined if the php5 file was loaded just before it?
Note: to get the order of events listed above I switched lines 53 and 54 of FCKeditor/FCKeditor.php from this:
to this:
No other changes to source code were made.
I've never used php or fckeditor in my life, how do I go about troubleshooting this type of problem?? I've been working on this for a week and am willing to do what is needed to get things running. Please help.
I'm running:
MediaWiki 1.13.2
PHP 5.2.6 (apache2handler)
MySQL 5.0.56
~~~~~~~~~
syntax error
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...TR/xhtml1/DTD/xhtml1-transitional.dtd">\n
FCKeditor is not defined
[Break on this error] var oFCKeditor = new FCKeditor( "wpTextbox1" ) ;
oFCKeditor is undefined
[Break on this error] oFCKeditor.Height = height ;
~~~~~~~~~~
The console states the syntax error is originating from fckeditor.js, line 1. I looked through an html syntax tutorial and it seems as though this doctype tag is fine. Not sure what firebug is complaining about.
The undefined call to FCKeditor is from line 82 of FCKeditor/FCKeditor.body.php. This baffles me since LocalSettings.php loads --> FCKeditor/FCKeditor.php, which loads --> FCKeditor/fckeditor/fckeditor.php, which loads --> fckeditor_php5.php. It looks like this last file declares the FCkeditor class and constructor. After all of this FCkeditor.php loads the offending file, FCkeditor.body.php. Why would the FCKeditor class be undefined if the php5 file was loaded just before it?
Note: to get the order of events listed above I switched lines 53 and 54 of FCKeditor/FCKeditor.php from this:
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . "FCKeditor.body.php"; require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . "fckeditor" . DIRECTORY_SEPARATOR . "fckeditor.php";
to this:
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . "fckeditor" . DIRECTORY_SEPARATOR . "fckeditor.php"; require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . "FCKeditor.body.php";
No other changes to source code were made.
I've never used php or fckeditor in my life, how do I go about troubleshooting this type of problem?? I've been working on this for a week and am willing to do what is needed to get things running. Please help.
I'm running:
MediaWiki 1.13.2
PHP 5.2.6 (apache2handler)
MySQL 5.0.56

Re: missing fckeditor and edit box in mediawiki
viewtopic.php?f=6&t=10908&start=0
Re: missing fckeditor and edit box in mediawiki
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="generator" content="MediaWiki 1.13.2" /> <meta name="robots" content="noindex,nofollow" /> <link rel="shortcut icon" href="/zkwiki/skins/common/images/favicon.ico" /> <link rel="search" type="application/opensearchdescription+xml" href="/zkwiki/opensearch_desc.php" title="ZKwiki (en)" /> <link rel="alternate" type="application/rss+xml" title="ZKwiki RSS Feed" href="http://localhost/zkwiki/index.php?title=Special:RecentChanges&feed=rss" /> <link rel="alternate" type="application/atom+xml" title="ZKwiki Atom Feed" href="http://localhost/zkwiki/index.php?title=Special:RecentChanges&feed=atom" /> <title>Editing Main Page (section) - ZKwiki</title> <style type="text/css" media="screen, projection">/*<![CDATA[*/ @import "/zkwiki/skins/common/shared.css?164"; @import "/zkwiki/skins/monobook/main.css?164"; /*]]>*/</style> <link rel="stylesheet" type="text/css" media="print" href="/zkwiki/skins/common/commonPrint.css?164" /> <!--[if lt IE 5.5000]><style type="text/css">@import "/zkwiki/skins/monobook/IE50Fixes.css?164";</style><![endif]--> <!--[if IE 5.5000]><style type="text/css">@import "/zkwiki/skins/monobook/IE55Fixes.css?164";</style><![endif]--> <!--[if IE 6]><style type="text/css">@import "/zkwiki/skins/monobook/IE60Fixes.css?164";</style><![endif]--> <!--[if IE 7]><style type="text/css">@import "/zkwiki/skins/monobook/IE70Fixes.css?164";</style><![endif]--> <!--[if lt IE 7]><script type="text/javascript" src="/zkwiki/skins/common/IEFixes.js?164"></script> <meta http-equiv="imagetoolbar" content="no" /><![endif]--> <script type= "text/javascript">/*<![CDATA[*/ var skin = "monobook"; var stylepath = "/zkwiki/skins"; var wgArticlePath = "/zkwiki/$1"; var wgScriptPath = "/zkwiki"; var wgScript = "/zkwiki/index.php"; var wgVariantArticlePath = false; var wgActionPaths = []; var wgServer = "http://localhost"; var wgCanonicalNamespace = ""; var wgCanonicalSpecialPageName = false; var wgNamespaceNumber = 0; var wgPageName = "Main_Page"; var wgTitle = "Main Page"; var wgAction = "edit"; var wgArticleId = "1"; var wgIsArticle = false; var wgUserName = "Adrian"; var wgUserGroups = ["sysop", "*", "user", "autoconfirmed"]; var wgUserLanguage = "en"; var wgContentLanguage = "en"; var wgBreakFrames = false; var wgCurRevisionId = "5"; var wgVersion = "1.13.2"; var wgEnableAPI = true; var wgEnableWriteAPI = false; var wgRestrictionEdit = []; var wgRestrictionMove = []; var wgAjaxWatch = {"watchMsg": "Watch", "unwatchMsg": "Unwatch", "watchingMsg": "Watching...", "unwatchingMsg": "Unwatching..."}; /*]]>*/</script> <script type="text/javascript" src="/zkwiki/skins/common/wikibits.js?164"><!-- wikibits js --></script> <!-- Head Scripts --> <script type="text/javascript" src="/zkwiki/skins/common/edit.js?164"></script> <script type="text/javascript" src="/zkwiki/extensions/FCKeditor/fckeditor/fckeditor.js"></script> <script type="text/javascript"> var sEditorAreaCSS = '/zkwiki/skins/common/wikiprintable.css?164,/mediawiki/skins/monobook/main.css?164'; </script> <!--[if lt IE 5.5000]><script type="text/javascript">sEditorAreaCSS += ',/mediawiki/skins/monobook/IE50Fixes.css?164'; </script><![endif]--> <!--[if IE 5.5000]><script type="text/javascript">sEditorAreaCSS += ',/mediawiki/skins/monobook/IE55Fixes.css?164'; </script><![endif]--> <!--[if IE 6]><script type="text/javascript">sEditorAreaCSS += ',/mediawiki/skins/monobook/IE60Fixes.css?164'; </script><![endif]--> <!--[if IE 7]><script type="text/javascript">sEditorAreaCSS += ',/mediawiki/skins/monobook/IE70Fixes.css?164'; </script><![endif]--> <!--[if lt IE 7]><script type="text/javascript">sEditorAreaCSS += ',/mediawiki/skins/monobook/IEFixes.css?164'; </script><![endif]--><script type="text/javascript"> sEditorAreaCSS += ",/zkwiki/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000,/zkwiki/index.php?title=MediaWiki:.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000,/zkwiki/index.php?title=-&action=raw&gen=css&maxage=18000&smaxage=0&useskin="; var showFCKEditor = 1; var popup = false; //pointer to popup document var firstLoad = true; var editorMsgOn = "Rich Editor"; var editorMsgOff = "Disable rich editor"; var editorLink = "Disable rich editor"; var saveSetting = 0; var RTE_VISIBLE = 1; var RTE_TOGGLE_LINK = 2; var RTE_POPUP = 4; var oFCKeditor = new FCKeditor( "wpTextbox1" ) ; //Set config oFCKeditor.BasePath = "/zkwiki/extensions/FCKeditor/fckeditor/" ; oFCKeditor.Config["CustomConfigurationsPath"] = "/zkwiki/extensions/FCKeditor/fckeditor_config.js" ; oFCKeditor.Config["EditorAreaCSS"] = "/zkwiki/extensions/FCKeditor/css/fckeditor.css" ; oFCKeditor.ToolbarSet = "Wiki" ; oFCKeditor.ready = true; oFCKeditor.Config["showreferences"] = false; </script><script type="text/javascript"> //IE hack to call func from popup function FCK_sajax(func_name, args, target) { sajax_request_type = 'POST' ; sajax_do_call(func_name, args, function (x) { // I know this is function, not object target(x); } ); } function onLoadFCKeditor() { if (!(showFCKEditor & RTE_VISIBLE)) showFCKEditor += RTE_VISIBLE; firstLoad = false; realTextarea = document.getElementById('wpTextbox1'); if ( realTextarea ) { var height = 0 ; realTextarea.style.display = 'none'; if ( height == 0 ) { // Get the window (inner) size. var height = window.innerHeight || ( document.documentElement && document.documentElement.clientHeight ) || 550 ; // Reduce the height to the offset of the toolbar. var offset = document.getElementById('wikiPreview') || document.getElementById('toolbar') ; while ( offset ) { height -= offset.offsetTop ; offset = offset.offsetParent ; } // Add a small space to be left in the bottom. height -= 20 ; } // Enforce a minimum height. height = ( !height || height < 300 ) ? 300 : height ; // Create the editor instance and replace the textarea. oFCKeditor.Height = height ; oFCKeditor.ReplaceTextarea() ; // Hide the default toolbar. document.getElementById('toolbar').style.display = 'none' ; // do things with CharInsert for example var edittools_markup = document.getElementById ('editpage-specialchars') ; if (edittools_markup) { edittools_markup.style.display = 'none' ; } FCKeditorInsertTags = function (tagOpen, tagClose, sampleText, oDoc) { var txtarea; if ( !(typeof(oDoc.FCK) == "undefined") && !(typeof(oDoc.FCK.EditingArea) == "undefined") ) { txtarea = oDoc.FCK.EditingArea.Textarea ; } else if (oDoc.editform) { // if we have FCK enabled, behave differently... if ( showFCKEditor & RTE_VISIBLE ) { SRCiframe = oDoc.getElementById ('wpTextbox1___Frame') ; if ( SRCiframe ) { if (window.frames[SRCiframe]) SRCdoc = window.frames[SRCiframe].oDoc ; else SRCdoc = SRCiframe.contentDocument ; var SRCarea = SRCdoc.getElementById ('xEditingArea').firstChild ; if (SRCarea) txtarea = SRCarea ; else return false ; } else { return false ; } } else { txtarea = oDoc.editform.wpTextbox1 ; } } else { // some alternate form? take the first one we can find var areas = oDoc.getElementsByTagName( 'textarea' ) ; txtarea = areas[0] ; } var selText, isSample = false ; if ( oDoc.selection && oDoc.selection.createRange ) { // IE/Opera //save window scroll position if ( oDoc.documentElement && oDoc.documentElement.scrollTop ) var winScroll = oDoc.documentElement.scrollTop ; else if ( oDoc.body ) var winScroll = oDoc.body.scrollTop ; //get current selection txtarea.focus() ; var range = oDoc.selection.createRange() ; selText = range.text ; //insert tags checkSelected(); range.text = tagOpen + selText + tagClose ; //mark sample text as selected if ( isSample && range.moveStart ) { if (window.opera) tagClose = tagClose.replace(/\n/g,'') ; //check it out one more time range.moveStart('character', - tagClose.length - selText.length) ; range.moveEnd('character', - tagClose.length) ; } range.select(); //restore window scroll position if ( oDoc.documentElement && oDoc.documentElement.scrollTop ) oDoc.documentElement.scrollTop = winScroll ; else if ( oDoc.body ) oDoc.body.scrollTop = winScroll ; } else if ( txtarea.selectionStart || txtarea.selectionStart == '0' ) { // Mozilla //save textarea scroll position var textScroll = txtarea.scrollTop ; //get current selection txtarea.focus() ; var startPos = txtarea.selectionStart ; var endPos = txtarea.selectionEnd ; selText = txtarea.value.substring( startPos, endPos ) ; //insert tags if (!selText) { selText = sampleText ; isSample = true ; } else if (selText.charAt(selText.length - 1) == ' ') { //exclude ending space char selText = selText.substring(0, selText.length - 1) ; tagClose += ' ' ; } txtarea.value = txtarea.value.substring(0, startPos) + tagOpen + selText + tagClose + txtarea.value.substring(endPos, txtarea.value.length) ; //set new selection if (isSample) { txtarea.selectionStart = startPos + tagOpen.length ; txtarea.selectionEnd = startPos + tagOpen.length + selText.length ; } else { txtarea.selectionStart = startPos + tagOpen.length + selText.length + tagClose.length ; txtarea.selectionEnd = txtarea.selectionStart; } //restore textarea scroll position txtarea.scrollTop = textScroll; } } } } function checkSelected() { if (!selText) { selText = sampleText; isSample = true; } else if (selText.charAt(selText.length - 1) == ' ') { //exclude ending space char selText = selText.substring(0, selText.length - 1); tagClose += ' ' } } function initEditor() { var toolbar = document.getElementById('toolbar') ; //show popup or toogle link if (showFCKEditor & (RTE_POPUP|RTE_TOGGLE_LINK)){ //add new toolbar before wiki toolbar var fckTools = document.createElement('div'); fckTools.setAttribute('id', 'fckTools'); toolbar.parentNode.insertBefore( fckTools, toolbar ); var SRCtextarea = document.getElementById( "wpTextbox1" ) ; if (showFCKEditor & RTE_VISIBLE) SRCtextarea.style.display = "none"; } if (showFCKEditor & RTE_TOGGLE_LINK) { fckTools.innerHTML='[<a class="fckToogle" id="toggle_wpTextbox1" href="javascript:void(0)" onclick="ToggleFCKEditor(\'toggle\',\'wpTextbox1\')">'+ editorLink +'</a>] '; } if (showFCKEditor & RTE_POPUP) { var style = (showFCKEditor & RTE_VISIBLE) ? 'style="display:none"' : ""; fckTools.innerHTML+='<span ' + style + ' id="popup_wpTextbox1">[<a class="fckPopup" href="javascript:void(0)" onclick="ToggleFCKEditor(\'popup\',\'wpTextbox1\')">Open Rich editor in new window</a>]</span>'; } if (showFCKEditor & RTE_VISIBLE) { if ( toolbar ) //insert wiki buttons { // Remove the mwSetupToolbar onload hook to avoid a JavaScript error with FF. if ( window.removeEventListener ) window.removeEventListener( 'load', mwSetupToolbar, false ) ; else if ( window.detachEvent ) window.detachEvent( 'onload', mwSetupToolbar ) ; mwSetupToolbar = function() { return false ; } ; for (var i = 0; i < mwEditButtons.length; i++) { mwInsertEditButton(toolbar, mwEditButtons[i]); } for (var i = 0; i < mwCustomEditButtons.length; i++) { mwInsertEditButton(toolbar, mwCustomEditButtons[i]); } } onLoadFCKeditor(); } return true; } addOnloadHook( initEditor ); </script> <script type="text/javascript" src="/zkwiki/skins/common/ajax.js?164"></script> <script type="text/javascript" src="/zkwiki/skins/common/ajaxwatch.js?164"></script> <script type="text/javascript" src="/zkwiki/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook"><!-- site js --></script> <style type="text/css">/*<![CDATA[*/ @import "/zkwiki/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"; @import "/zkwiki/index.php?title=MediaWiki:Monobook.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"; @import "/zkwiki/index.php?title=-&action=raw&gen=css&maxage=18000&smaxage=0&useskin=monobook"; /*]]>*/</style> </head> <body class="mediawiki ns-0 ltr page-Main_Page"> <div id="globalWrapper"> <div id="column-content"> <div id="content"> <a name="top" id="top"></a> <h1 class="firstHeading">Editing Main Page (section)</h1> <div id="bodyContent"> <h3 id="siteSub">From ZKwiki</h3> <div id="contentSub"></div> <div id="jump-to-nav">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div> <!-- start content --> <div id="wikiPreview"></div><div id='toolbar'> <script type='text/javascript'> /*<![CDATA[*/ addButton("/zkwiki/skins/common/images/button_bold.png","Bold text","\'\'\'","\'\'\'","Bold text","mw-editbutton-bold"); addButton("/zkwiki/skins/common/images/button_italic.png","Italic text","\'\'","\'\'","Italic text","mw-editbutton-italic"); addButton("/zkwiki/skins/common/images/button_link.png","Internal link","[[","]]","Link title","mw-editbutton-link"); addButton("/zkwiki/skins/common/images/button_extlink.png","External link (remember http:// prefix)","[","]","http://www.example.com link title","mw-editbutton-extlink"); addButton("/zkwiki/skins/common/images/button_headline.png","Level 2 headline","\n== "," ==\n","Headline text","mw-editbutton-headline"); addButton("/zkwiki/skins/common/images/button_image.png","Embedded file","[[Image:","]]","Example.jpg","mw-editbutton-image"); addButton("/zkwiki/skins/common/images/button_media.png","File link","[[Media:","]]","Example.ogg","mw-editbutton-media"); addButton("/zkwiki/skins/common/images/button_math.png","Mathematical formula (LaTeX)","\x3cmath\x3e","\x3c/math\x3e","Insert formula here","mw-editbutton-math"); addButton("/zkwiki/skins/common/images/button_nowiki.png","Ignore wiki formatting","\x3cnowiki\x3e","\x3c/nowiki\x3e","Insert non-formatted text here","mw-editbutton-nowiki"); addButton("/zkwiki/skins/common/images/button_sig.png","Your signature with timestamp","--~~~~","","","mw-editbutton-signature"); addButton("/zkwiki/skins/common/images/button_hr.png","Horizontal line (use sparingly)","\n----\n","","","mw-editbutton-hr"); /*]]>*/ </script> </div> <form id="editform" name="editform" method="post" action="/zkwiki/index.php?title=Main_Page&action=submit" enctype="multipart/form-data"> <input type='hidden' value="1" name="wpSection" /> <input type='hidden' value="20081209225749" name="wpStarttime" /> <input type='hidden' value="20081102030057" name="wpEdittime" /> <input type='hidden' value="" name="wpScrolltop" id="wpScrolltop" /> <textarea tabindex='1' accesskey="," name="wpTextbox1" id="wpTextbox1" rows='25' cols='80' ><h2> Getting started </h2> <ul><li> <a href="http://www.mediawiki.org/wiki/Manual:Configuration_settings">Configuration settings list</a> </li><li> <a href="http://www.mediawiki.org/wiki/Manual:FAQ">MediaWiki FAQ</a> </li><li> <a href="http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce">MediaWiki release mailing list</a> </li><li> <a href="http://www.mediawiki.org/wiki/Manual">Technical Manual</a> </li></ul> </textarea><div id="editpage-copywarn"> <p>Please note that all contributions to ZKwiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.<br /> You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see <a href="/zkwiki/index.php?title=ZKwiki:Copyrights&action=edit&redlink=1" class="new" title="ZKwiki:Copyrights (not yet written)">ZKwiki:Copyrights</a> for details). <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong> </p> </div> <div class='editOptions'> <span id='wpSummaryLabel'><label for='wpSummary'>Summary:</label></span> <input tabindex='2' type='text' value="" name='wpSummary' id='wpSummary' maxlength='200' size='60' /><input name="wpAutoSummary" type="hidden" value="d41d8cd98f00b204e9800998ecf8427e" /><br /> <input name="wpMinoredit" type="checkbox" value="1" tabindex="3" accesskey="i" id="wpMinoredit" /> <label for='wpMinoredit' title="Mark this as a minor edit [i]">This is a minor edit</label> <input name="wpWatchthis" type="checkbox" value="1" checked="checked" tabindex="4" accesskey="w" id="wpWatchthis" /> <label for='wpWatchthis' title="Add this page to your watchlist [w]">Watch this page</label> <div class='editButtons'> <input id="wpSave" name="wpSave" type="submit" tabindex="5" value="Save page" accesskey="s" title="Save your changes [s]" /> <input id="wpPreview" name="wpPreview" type="submit" tabindex="6" value="Show preview" accesskey="p" title="Preview your changes, please use this before saving! [p]" /> <input id="wpDiff" name="wpDiff" type="submit" tabindex="7" value="Show changes" accesskey="v" title="Show which changes you made to the text. [v]" /> <span class='editHelp'><a href="/zkwiki/Main_Page" title="Main Page">Cancel</a> | <a target="helpwindow" href="/zkwiki/Help:Editing">Editing help</a> (opens in new window)</span> </div><!-- editButtons --> </div><!-- editOptions --> <input type='hidden' value="c881a2db57e6af412604f03418c05402+\" name="wpEditToken" /> <div class="mw-editTools"></div> <div class='templatesUsed'> </div> <div class='hiddencats'> </div> </form> <div class="printfooter"> Retrieved from "<a href="http://localhost/zkwiki/Main_Page">http://localhost/zkwiki/Main_Page</a>"</div> <!-- end content --> <div class="visualClear"></div> </div> </div> </div> <div id="column-one"> <div id="p-cactions" class="portlet"> <h5>Views</h5> <div class="pBody"> <ul> <li id="ca-nstab-main" class="selected"><a href="/zkwiki/Main_Page" title="View the content page [c]" accesskey="c">Page</a></li> <li id="ca-talk"><a href="/zkwiki/Talk:Main_Page" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li> <li id="ca-edit" class="selected"><a href="/zkwiki/index.php?title=Main_Page&action=edit" title="You can edit this page. Please use the preview button before saving.">Edit</a></li> <li id="ca-history"><a href="/zkwiki/index.php?title=Main_Page&action=history" title="Past versions of this page. [h]" accesskey="h">History</a></li> <li id="ca-delete"><a href="/zkwiki/index.php?title=Main_Page&action=delete" title="Delete this page [d]" accesskey="d">Delete</a></li> <li id="ca-move"><a href="/zkwiki/Special:MovePage/Main_Page" title="Move this page [m]" accesskey="m">Move</a></li> <li id="ca-protect"><a href="/zkwiki/index.php?title=Main_Page&action=protect" title="Protect this page [=]" accesskey="=">Protect</a></li> <li id="ca-unwatch"><a href="/zkwiki/index.php?title=Main_Page&action=unwatch" title="Remove this page from your watchlist">Unwatch</a></li> </ul> </div> </div> <div class="portlet" id="p-personal"> <h5>Personal tools</h5> <div class="pBody"> <ul> <li id="pt-userpage"><a href="/zkwiki/User:Adrian" title="My user page [.]" accesskey="." class="new">Adrian</a></li> <li id="pt-mytalk"><a href="/zkwiki/User_talk:Adrian" title="My talk page [n]" accesskey="n" class="new">My talk</a></li> <li id="pt-preferences"><a href="/zkwiki/Special:Preferences" title="My preferences">My preferences</a></li> <li id="pt-watchlist"><a href="/zkwiki/Special:Watchlist" title="The list of pages you're monitoring for changes [l]" accesskey="l">My watchlist</a></li> <li id="pt-mycontris"><a href="/zkwiki/Special:Contributions/Adrian" title="List of my contributions [y]" accesskey="y">My contributions</a></li> <li id="pt-logout"><a href="/zkwiki/index.php?title=Special:UserLogout&returnto=Main_Page" title="Log out">Log out</a></li> </ul> </div> </div> <div class="portlet" id="p-logo"> <a style="background-image: url(/skins/common/images/zk_logo2_135px.png);" href="/zkwiki/Main_Page" title="Visit the Main Page [z]" accesskey="z"></a> </div> <script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script> <div class='generated-sidebar portlet' id='p-navigation'> <h5>Navigation</h5> <div class='pBody'> <ul> <li id="n-mainpage-description"><a href="/zkwiki/Main_Page">Main Page</a></li> <li id="n-portal"><a href="/zkwiki/ZKwiki:Community_Portal" title="About the project, what you can do, where to find things">Community portal</a></li> <li id="n-currentevents"><a href="/zkwiki/ZKwiki:Current_events" title="Find background information on current events">Current events</a></li> <li id="n-recentchanges"><a href="/zkwiki/Special:RecentChanges" title="The list of recent changes in the wiki. [r]" accesskey="r">Recent changes</a></li> <li id="n-randompage"><a href="/zkwiki/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li> <li id="n-sandbox"><a href="/zkwiki/Sandbox">sandbox</a></li> <li id="n-help"><a href="/zkwiki/Help:Contents" title="The place to find out.">Help</a></li> </ul> </div> </div> <div class='generated-sidebar portlet' id='p-Quicklinks'> <h5>Quicklinks</h5> <div class='pBody'> <ul> <li id="n-engineering"><a href="/zkwiki/Engineering-url">engineering</a></li> <li id="n-production"><a href="/zkwiki/Production-url">production</a></li> <li id="n-guides"><a href="/zkwiki/Guides-url">guides</a></li> <li id="n-sales"><a href="/zkwiki/Sales-url">sales</a></li> <li id="n-marketing"><a href="/zkwiki/Marketing-url">marketing</a></li> </ul> </div> </div> <div id="p-search" class="portlet"> <h5><label for="searchInput">Search</label></h5> <div id="searchBody" class="pBody"> <form action="/zkwiki/Special:Search" id="searchform"><div> <input id="searchInput" name="search" type="text" title="Search ZKwiki [f]" accesskey="f" value="" /> <input type='submit' name="go" class="searchButton" id="searchGoButton" value="Go" title="Go to a page with this exact name if exists" /> <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search the pages for this text" /> </div></form> </div> </div> <div class="portlet" id="p-tb"> <h5>Toolbox</h5> <div class="pBody"> <ul> <li id="t-whatlinkshere"><a href="/zkwiki/Special:WhatLinksHere/Main_Page" title="List of all wiki pages that link here [j]" accesskey="j">What links here</a></li> <li id="t-recentchangeslinked"><a href="/zkwiki/Special:RecentChangesLinked/Main_Page" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li> <li id="t-upload"><a href="/zkwiki/Special:Upload" title="Upload files [u]" accesskey="u">Upload file</a></li> <li id="t-specialpages"><a href="/zkwiki/Special:SpecialPages" title="List of all special pages [q]" accesskey="q">Special pages</a></li> </ul> </div> </div> </div><!-- end of the left (by default at least) column --> <div class="visualClear"></div> <div id="footer"> <div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="/zkwiki/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" /></a></div> <ul id="f-list"> <li id="privacy"><a href="/zkwiki/ZKwiki:Privacy_policy" title="ZKwiki:Privacy policy">Privacy policy</a></li> <li id="about"><a href="/zkwiki/ZKwiki:About" title="ZKwiki:About">About ZKwiki</a></li> <li id="disclaimer"><a href="/zkwiki/ZKwiki:General_disclaimer" title="ZKwiki:General disclaimer">Disclaimers</a></li> </ul> </div> </div> <script type="text/javascript">if (window.runOnloadHook) runOnloadHook();</script> <!-- Served in 0.284 secs. --></body></html>Re: missing fckeditor and edit box in mediawiki
Using the information you provided I can only tell you that you should watch for invalid formations in your XHTML, that's what firebug is really reporting.
In short, you should search the page for empty attribute values or mal-formed tags. I just recently fixed a problem of my own on a site I've built, I used a <script ... src=""></script> and firebug threw up the same error you are explaining. As far as the actual javascript causing the error, I would really have to investigate.
XHTML is great and all, but it's damn picky about formatting and tidiness, something to always watch out for.
If you provide me a link to your site, I can run through it and maybe find something else in the lines of Javascript or other formatting that your Doctype would consider invalid.
Re: missing fckeditor and edit box in mediawiki