Posts Tagged ‘ajax’

Sloving the ajax error c00ce56e

May 28th, 2010

Well, this is an embarrassing error which only occurs in IE but not in Firefox or Chorme. Haven’t tested it in Safari or Opera yet. This error  -”could not complete the operation due to error c00ce56e” – occurs after sending the request and geting the results successfully. It’s due to the encoding problem. I got the solutions here – http://learningconstantly.blogspot.com/2007/11/error-in-ajax-script-could-not-complete.html:

  • add the following header on each of the .php files like so:
  • header(“Content-type: text/html; charset=ISO-8859-1″);

  • In your php.ini file, change:
  • default_mimetype = “text/html”

    to

    default_mimetype = “text/html; Charset=utf-8″