[SOLVED] Funky error
Posted: Thu Oct 20, 2005 5:15 pm
Hi there,
I'm getting a Javascript error generated (only on 2 computers out of about 50) that says this:
As you may have noticed, this is an error in a pre-written Rich Text editor called FCKEditor (FCK are the guy's initials by the way
)
Anyway, the javascript it's pointing to is in the function below, right near the bottom:
Has anyone ever had this error before? The only thing I've been able to find out is that this error is generated when you're trying to focus (via Javascript) on a window that hasn't been created yet. However, I don't see that happening here.
I've tried to commend out the oWindow.opener = window line, and changed the line preceeding it to just call window.open but neither of those seemed to work.
The computers this is happening on are running IE6, though there are other computers running IE6 that don't have this problem.
Thanks for any insight.
I'm getting a Javascript error generated (only on 2 computers out of about 50) that says this:
Code: Select all
I.E. Script Error
Line: 538
Char: 3
Error: The callee (server (not server application)) is not available and disappeared, all connections are invalid. The call did not execute.
Code: 0
URL: http://www.mydomain.ca/admin/fck/editor/dialog/fck_link.htmlAnyway, the javascript it's pointing to is in the function below, right near the bottom:
Code: Select all
function BrowseServer()
{
// Set the browser window feature.
var iWidth = FCKConfig.LinkBrowserWindowWidth ;
var iHeight = FCKConfig.LinkBrowserWindowHeight ;
var iLeft = (FCKConfig.ScreenWidth - iWidth) / 2 ;
var iTop = (FCKConfig.ScreenHeight - iHeight) / 2 ;
var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes" ;
sOptions += ",width=" + iWidth ;
sOptions += ",height=" + iHeight ;
sOptions += ",left=" + iLeft ;
sOptions += ",top=" + iTop ;
if ( oEditor.FCKBrowserInfo.IsIE )
{
// The following change has been made otherwise IE will open the file
// browser on a different server session (on some cases):
// http://support.microsoft.com/default.aspx?scid=kb;en-us;831678
// by Simone Chiaretta.
var oWindow = oEditor.window.open( FCKConfig.LinkBrowserURL, "FCKBrowseWindow", sOptions ) ;
oWindow.opener = window ; //<----- This is the line causing the error
}
else
{
window.open( FCKConfig.LinkBrowserURL, "FCKBrowseWindow", sOptions ) ;
}
}I've tried to commend out the oWindow.opener = window line, and changed the line preceeding it to just call window.open but neither of those seemed to work.
The computers this is happening on are running IE6, though there are other computers running IE6 that don't have this problem.
Thanks for any insight.