views:

697

answers:

1

I'm at a loss. I found a few things that mentioned IE needed to have the response type specified and I changed that to text/html and that did nothing for me.

There Error:

Could not complete the operation due to error c00ce56e. prototype.js, line 1564

Points to in prototype.js:

if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) {
  this.status       = this.getStatus();
  this.statusText   = this.getStatusText();
  this.responseText = String.interpret(transport.responseText); <!--- ERROR is here --->
  this.headerJSON   = this._getHeaderJSON();
}

The function called from an onClick() in an href:

function f(op, cl) {
    if(op && cl) {
            new Ajax.Updater('favorites-' + cl, '/fav.php',
            {
                    onComplete: function(transport) {
                            if(transport.responseText == 1 && cl) $('favorites-' + cl).remove();
                            else return transport.responseText;
                            },
                    onException: function(r, e) {
                                    alert('Updater ' + e);
                            },
                    method: 'get',
                    parameters: { cl: cl, op: op },
                    encoding: 'UTF-8',
                    contentType: 'text/html'
            });
    }
}
A: 

Error C00CE56E typically happens when your script returns an encoding (by Content-Type charset parameter or <?xml encoding) that IE doesn't recognise, for example if you say ‘utf8’ instead of the correct ‘utf-8’. This has to be fixed at the server-side.

What is the Content-Type header your server is sending?

bobince
Hmm, that's kinda of what I thought, however, after looking at the headers, the server side set charset is utf-8, see below:Date Fri, 09 Oct 2009 01:22:40 GMTServer Apache/1.3.41 (Unix) mod_gzip/1.3.26.1a PHP/5.3.0Vary *X-Powered-By PHP/5.3.0Expires Thu, 19 Nov 1981 08:52:00 GMTCache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0Pragma no-cacheKeep-Alive timeout=15, max=98Connection Keep-AliveTransfer-Encoding chunkedContent-Type text/html; charset=text/html; charset=utf-8
zmonteca