本文介绍了Internet Explorer 7&原型1.6.1的8个问题 - 由于错误c00ce56e无法完成操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我很茫然。我找到了一些提到IE需要指定响应类型的东西,我将其更改为text / html,这对我没有任何作用。

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.

出现错误:

由于错误c00ce56e,无法完成操作。 prototype.js,第1564行

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

prototype.js中的要点:

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();
}

从href中的onClick()调用的函数:

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'
            });
    }
}


推荐答案

错误C00CE56E通常在脚本返回IE无法识别的编码(通过Content-Type charset参数或<?xml encoding )时发生,例如,如果您说'utf8 '而不是正确的'UTF-8'。这必须在服务器端修复。

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.

您的服务器发送的Content-Type标头是什么?

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

这篇关于Internet Explorer 7&amp;原型1.6.1的8个问题 - 由于错误c00ce56e无法完成操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 22:48