This could be one of my favourite "bugs" that took me ages and ages to figure out a while ago. It's not a cake problem though.
You probably need to switch off "allow short php" tags in your php.ini Problem is, the first line of your xml/action.ctp file is probably something like <?xml version="1.0" ..... and guess what... the php interpreter looks at that and errors ..... You must *only* use <?php tags and strictly disallow <? if playing with xml. HG manuj wrote: > i have put some xml code in views/controller/xml/action.ctp, > when I run this code http//servername/controller/action.ctp, > it gives error due to > blank charcters before starting of code > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
