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

View: New views
3 Messages — Rating Filter:   Alert me  

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

by Dave-418 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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


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

by Robert P :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Before anyone attempts to answer this, what is your understanding of
the error and its cause?

The error is in a CakePHP class, so start there.

On Nov 7, 6:04 am, "Dave" <make.cake.b...@...> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


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

by ros-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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...@...> 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@...
To unsubscribe from this group, send email to
cake-php+unsubscribe@... For more options, visit this group at http://groups.google.com/group/cake-php?hl=en