Re: Blank lines at top of XML rendering

2006-11-29 Thread NOSLOW
Dave Barter wrote: > Check you files for blank lines after ?> at the end of the file. Also check for blank lines at the TOP of php files, and possibly in the MIDDLE if you close and open your php tags. I noticed that I had a blank line at the very top of all my HTML output and it turned out to b

Re: Blank lines at top of XML rendering

2006-11-28 Thread [EMAIL PROTECTED]
Hey Dave, i double checked all files from cake and none have a space after any php close tag (if there was it should/does generate an error, depending on which file its in of course). --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Blank lines at top of XML rendering

2006-11-28 Thread Dave Barter
Check you files for blank lines after ?> at the end of the file. You need to check any files that may be included, not just the file creating the output. Remember that Apache will render these as output --~--~-~--~~~---~--~~ You received this message because you

Re: Blank lines at top of XML rendering

2006-11-28 Thread [EMAIL PROTECTED]
I'm running to the same exact error, if anyone has any more input on this i'd appriciate it. I've been search everywhere i can think of to find some sort of answer/reason/workaround for this. i tried to flush the output buffer, but that isn't helping the situation. also, its not a matter of the co

Re: Blank lines at top of XML rendering

2006-11-15 Thread Kevin Wetzels
I've had a similar issue, which was resolved when I used ob_clean(). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe f

Re: Blank lines at top of XML rendering

2006-11-15 Thread AD7six
Hi realien, If you are using the above code, and /NOT/ getting "header already sent" errors (you have debug set > 0, right?) The only answer is that your content_for_layout starts with a space. If you are getting an error message, it's worth reading - especially the bit where it tells you the fil

Blank lines at top of XML rendering

2006-11-14 Thread realien
Hi guys, We've created a REST based webservice with cake, and when we set the layout of the controller to var $layout = 'xml'; and we have views for each of the actions on the controller that wil render the xml. \n"; echo $content_for_layout; ?> What we are seeing is we always get 1 or 2 bl