Monday, November 19, 2007

Error in AJAX script - could not complete the operation due to error c00ce56e

CM reported today that over the weelend the system (CM dashboard) just stopped working, stopped returning results.

The Error was displayed like a JavaScript Error and the Eror Message was:
"could not complete the operation due to error c00ce56e"

Did a bit of hunting, and that's when I stumbled upon a few sites:

which spoke about changing of character sets.
I added the following header on each of the .php files like so:

header("Content-type: text/html; charset=ISO-8859-1");

and the problem disappeared. Hooray for now.


Todd said...

PHP has a configuration directive where you can specify default headers.

In your php.ini file, change:

default_mimetype = "text/html"


default_mimetype = "text/html; Charset=utf-8"

With this, you can avoid altering every page that sends an AJAX response.

bobwal said...

Cheers! This resolved an IE prob for me.

Vignesh said...

Its not work for me... i followed your steps but i'm not got result

Cindy Dy said...

You are an awesome blogger. This is one of the best blog I had visited so far. Hope to read more post from you in the future. Keep it up. God bless.