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:
http://www.webmasterworld.com/javascript/3341129.htm
and
http://support.microsoft.com/kb/304625/en-us

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.