I am getting an alert box when using mozilla 1.0.1 with the editor.
The editor is using the PHP backend.
This does not happen in MSIE.
When the page loads titled "Resources Browser" I get an alert box which is titled [JavaScript Application] which states a warning:
" XML request error: Not Found (404)"
I was wondering what page that is missing, or if there is a way to further understand what is happening?
Thanks
The editor is using the PHP backend.
This does not happen in MSIE.
When the page loads titled "Resources Browser" I get an alert box which is titled [JavaScript Application] which states a warning:
" XML request error: Not Found (404)"
I was wondering what page that is missing, or if there is a way to further understand what is happening?
Thanks
RE: FCKEditor RC3 Mozilla Image/File Browsing
I don't know if this will help but I tried to add some code to make the script that seems to be having issues (/filemanager/browser/default/connectors/js/fckxml.js) more verbose.
Here is my javascript console output:
Error: [Exception... "'Permission denied to create wrapper for object of class UnnamedClass' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
The code I added/changed:
FCKXml.prototype.LoadUrl = function( urlToCall, asyncFunctionPointer )
{
var oFCKXml = this ;
var bAsync = ( typeof(asyncFunctionPointer) == 'function' ) ;
var oXmlHttp = this.GetHttpRequest() ;
oXmlHttp.open( "GET", urlToCall, bAsync ) ;
if ( bAsync )
{
oXmlHttp.onreadystatechange = function()
{
if ( oXmlHttp.readyState == 4 )
{
oFCKXml.DOMDocument = oXmlHttp.responseXML ;
if ( oXmlHttp.status == 200 )
{
asyncFunctionPointer( oFCKXml ) ;
}
else
{
// Added for verbose testing
var vMSG = "\n\n";
var Prop;
for (Prop in oXmlHttp) {
vMSG += "Name: " + Prop + "Value: " + oXmlHttp[Prop] + "\n";
}
//alert( 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')' ) ;
alert(vMSG) ;
}
}
}
}
oXmlHttp.send( null ) ;
if ( ! bAsync )
{
if ( oXmlHttp.status == 200 )
{
this.DOMDocument = oXmlHttp.responseXML ;
}
else
{
// Added for verbose testing
var vMSG = "\n\n";
for (var Prop in oXmlHttp) {
vMSG += "Name: " + Prop + "Value: " + oXmlHttp[Prop] + "\n";
}
//alert( 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')' ) ;
alert(vMSG) ;
}
}
}
RE: FCKEditor RC3 Mozilla Image/File Browsing
Hrm. Are you using the standard PHP connector or the extended one? No "special chars" in file names?
RE: FCKEditor RC3 Mozilla Image/File Browsing
BUT I do wish that I would have gotten more information about what was going on. My trick of looking at the object never did work out.