Sloving the ajax error c00ce56e

May 28th, 2010 by xrigher Leave a reply »

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″

    Advertisement

    5 comments

    1. Yigo says:

      ^____^ Gracias!

      Estube horas intentando solucionar el problema pero tú lo hiciste en una sola línea de código xD Excelente.

      Byte. 00101010101011

    2. ebichuhamster says:

      THANKYOUTHANKYOUTHANKYOUTHANKTYOU
      I’ve been at this 2 weeks and for some -maybe- i had already passed through the solution but here you stated to add the header on each of the php files. Somehow it had not been stated like so, maybe im just at begginer level and didnt notice this sooner.
      Thanks again :D !

    3. Leonardo says:

      Thanks a lots, this solution work perfectly…
      I hate IE more and more!!!

      Leonardo

    4. Canton says:

      A million thanks. Fixed a problem when i was going crazy and screaming at IE.

    5. Wim Grymonprez says:

      You saved my day.
      I really get headaches from ie whatever the version.

      THANK YOU

    Leave a Reply