IE7 shows that there is an error on Page. Here it is:
Line: 101 Char: 340 Error: 'undefined' is null or not an object Code: 0 http://www.mydomain.com/bo/fckeditor263/editor/fckeditor.html?InstanceName=ctl00_mainContent_ContentInfo_BasicContent_contentBody&Toolbar=Content
This problem only happens in IE. Any ideas why I'm getting this?
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" Inherits="BEMS.BEMSAdmin" %> <%@ Import Namespace="MySql.Data.MySqlClient" %> <%@ Register TagPrefix="BEMS" TagName="MasterPageList" Src="_uc_masterpagelist.ascx" %> <asp:Content ID="MainHeadingArea" ContentPlaceHolderID="mainHeading" runat="server"> <h3><asp:Label ID="lblAction" runat="server" /> Content</h3> </asp:Content> <asp:Content ID="MainContentArea" ContentPlaceHolderID="mainContent" runat="Server"> <asp:ScriptManager ID="ScriptManager" runat="server" /> <asp:UpdatePanel ID="DataFormUpdate" UpdateMode="Conditional" runat="server"> <ContentTemplate> <asp:ValidationSummary ID="valSummary" runat="server" DisplayMode="BulletList" EnableClientScript="true" HeaderText="<strong>Errors Detected!</strong>" ShowMessageBox="false" ShowSummary="true" /> <ajaxToolkit:TabContainer ID="ContentInfo" runat="server"> <ajaxToolkit:TabPanel ID="BasicContent" runat="server" HeaderText="Standard Content"> <ContentTemplate> <h5>Content Heading:</h5><p><asp:TextBox ID="contentHeading" runat="server" MaxLength="60" Columns="50" /><asp:RequiredFieldValidator ID="reqOne" runat="server" ControlToValidate="ContentHeading" Display="Dynamic" EnableClientScript="true" InitialValue="" ErrorMessage="<strong>(Standard Content)</strong> Content Heading Required!" ><img src="images/warning.png" alt="Required!" title="Required!" /></asp:RequiredFieldValidator></p> <h5>Content Body:</h5><p><FCKeditorV2:FCKeditor id="contentBody" ToolBarSet="Content" Height="550" runat="server" /></p> </contenttemplate> </ajaxToolkit:TabPanel> <ajaxToolkit:TabPanel ID="ImageHeader" runat="server" HeaderText="Image Header"> <contenttemplate> <p><h5>Image Existing</h5><asp:Image ID="imgHeader" runat="server" /><br /><asp:Button CssClass="delimg button" ID="delImage" runat="server" Text="Delete Image" OnClick="DeleteImage" /></p> <p><h5>Upload New Image</h5><asp:FileUpLoad id="UploadFile" runat="server" /></p> <asp:Literal ID="fileID" runat="server" Visible="false" /> </contenttemplate> </ajaxToolkit:TabPanel> <ajaxToolkit:TabPanel ID="MetaData" runat="server" HeaderText="Meta Data"> <contenttemplate> <p><h5>Meta Keywords (<asp:LinkButton ID="lnkKeywordsHelp" runat="server" Text="hint" OnClick="KeywordsHelp" />)</h5><asp:TextBox ID="MetaKeywords" runat="server" Columns="65" Rows="3" TextMode="MultiLine" MaxLength="200" /></p> <p><h5>Meta Description (<asp:LinkButton ID="lnkDescriptionHelp" runat="server" Text="hint" OnClick="DescriptionHelp" />)</h5><asp:TextBox ID="MetaDescription" runat="server" Columns="65" Rows="3" TextMode="MultiLine" MaxLength="200" /></p> <p><h5>Custom Meta Data (<asp:LinkButton ID="lnkCustomHelp" runat="server" Text="hint" OnClick="CustomHelp" />)</h5><asp:TextBox ID="CustomMetaTags" runat="server" Columns="65" Rows="3" TextMode="MultiLine" MaxLength="1000" /></p> </contenttemplate> </ajaxToolkit:TabPanel> <ajaxToolkit:TabPanel ID="OtherData" runat="server" HeaderText="Other Information"> <contenttemplate> <p>Page/File Name: <asp:TextBox ID="ContentPage" runat="server" MaxLength="64" Columns="60" /><asp:RequiredFieldValidator ID="reqTwenty" runat="server" ControlToValidate="ContentPage" Display="Dynamic" EnableClientScript="true" InitialValue="" ErrorMessage="<strong>(Other Information)</strong> Page/File Name required!" ><img src="images/warning.png" alt="Required!" title="Required!" /></asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="regTwenty" runat="server" ControlToValidate="ContentPage" Display="Dynamic" EnableClientScript="true" ErrorMessage="<strong>(Other Information)</strong> Page/File Name must begin with a forward slash and end with .aspx (eg, <em>/TheFileName.aspx</em>)!" ValidationExpression="^/.*\.aspx" ><img src="images/warning.png" alt="Required!" title="Required!" /></asp:RegularExpressionValidator> <asp:CustomValidator ID="reqTwentyEight" runat="server" ControlToValidate="ContentPage" OnServerValidate="contentPageExists" ErrorMessage="<strong>(Other Information)</strong> Page/File Name already exists! In order to use this filename, you must first delete the existing page. Or, you can choose a different filename." ><img src="images/warning.png" alt="This page already exists!" title="This page already exists!" /></asp:CustomValidator></p> <p>Include Controls: <asp:TextBox ID="IncludeControls" runat="server" MaxLength="64" Columns="60" /></p> <p>Master Page: <BEMS:MasterPageList id="ucMasterPageList" runat="server" /></p> <p>Secure This Content: <asp:CheckBox ID="ContentSecure" runat="server" /></p> <p>Created By <strong><asp:Literal ID="createdby" runat="server" /></strong> on <strong><asp:Literal ID="CreatedOn" runat="server" /></strong>.</p> <p>Last Updated By <strong><asp:Literal ID="UpdatedBy" runat="server" /></strong> on <strong><asp:Literal ID="UpdatedOn" runat="server" /></strong>.</p> </contenttemplate> </ajaxToolkit:TabPanel> </ajaxToolkit:TabContainer> <p><input type="button" class="preview button" onclick="window.open('<%= ViewLive.Text %>','previewWin'); return false;" name="viewLive" value="View Live Page" title="View the Current Live Version of this page" /> <asp:Button ID="btnSubmit" CssClass="save button" runat="server" Text="Save" OnClick="SaveData" /> <input type="button" class="cancel button" onclick="document.location='content.aspx';" name="Cancel" value="Cancel" title="Cancel This Action - Do Not Save Changes" /></p> <asp:Literal ID="viewLive" runat="server" Visible="false" /> <asp:UpdateProgress ID="UpdateProgressMain" runat="server" AssociatedUpdatePanelID="DataFormUpdate" DisplayAfter="0"> <ProgressTemplate><div><img src="images/ajax-loader_save.gif" alt="Working..." title="Working..." /><br />Working...</div></ProgressTemplate> </asp:UpdateProgress> <cc1:UpdateProgressOverlayExtender ID="UpdateProgressMainExt" runat="server" CssClass="updateProgress" TargetControlID="UpdateProgressMain" OverlayType="Browser" /> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="btnSubmit" /> </Triggers> </asp:UpdatePanel> </asp:Content>
Re: IE7 Won't Load FCKEditor
No ideas?
I've seen people that say FCK can't exist within floated elements, but I'm wondering if the TabControl is throwing things off, maybe too? Thanks.
Re: IE7 Won't Load FCKEditor
Re: IE7 Won't Load FCKEditor
Re: IE7 Won't Load FCKEditor
The thing is that it all worked at some point in a prior version...
Re: IE7 Won't Load FCKEditor
My app is in the 3.5 framework and is using ajax.
Thinking that ScriptManager might be the issue I instanced the control in a non-ajax aspx file and got the same error again, so it's probably not ajax-related.
Something in fckeditor.html doesn't seem to want to play nice, and my JS skillz aren't that good, so I'm pretty much stumped.
It sure would be nice if we could get some help on this.
Re: IE7 Won't Load FCKEditor
Went with another solution.
Sorry.
Re: IE7 Won't Load FCKEditor
Re: IE7 Won't Load FCKEditor
Re: IE7 Won't Load FCKEditor
The problem for me is only on the localhost. Suddenly, all my projects with fckeditor stopped working and i got a blank screen editor in all browsers... the iframe could not load and the IE7 status bar shows an error...
I've tryied to format my machine, reinstall apache, php, etc... no success
Now i've found this solution:
inside the FCKeditor/editor folder has a html named fckeditor.original.html.
All that i've done is: rename the fckeditor.html to another name, and the fckeditor.original.html to fckeditor.html.
and kaboom, the fckeditor started to work again...
Well, i think this can be a quick solution but not the real solution... I don't understand too much about FCKeditor, however, can someone explain why this file rename solved the problem and why the real fckeditor.html is not working? I think this can be happening because the js files maybe, but why suddenly they stopped working?
regards, sorry for the bad english...
Re: IE7 Won't Load FCKEditor
Thanks for the tip. Unfortunately it did nothing for me, but I appreciate the response.
Re: IE7 Won't Load FCKEditor
Very strange guys, I've been looking for the solution to this problem and as I could see, this issue only happening in the developers machines... this is very weird..
I've made a test trying to open the fckeditor file by clicking in the explorer... and for my surprise it worked... The problem is happens when I try to open the file by http://localhost...
It isn't only in the IE7... here i've got the same problem with mozilla, safari, opera...
someone got the solution??
Re: IE7 Won't Load FCKEditor