Friday, November 27, 2009

Re: XML cannot be read [CORE/cake/libs/xml.php, line 883] ???

Hi Dave,

Recently I've resolved an issue in Ajax helper for CakePHP. I think
this might be usefull for you.

http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-9369

In short, add request.setRequestHeader( 'Content-type', 'text/plain');
before your ajax call to make CakePHP stop thinking that it's XML type
of post.

Hope this helps.
palivoda.eu

On 7 ноя, 00:04, "Dave" <make.cake.b...@gmail.com> wrote:
> I get this error only in Google Chrome
>
> I simply click a link and that sends an ajax request to render an element
> into a div. No errors in FF or IE. Anyone seen this?
>
> Thanks
> Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: