hi Dan,

I stumbled across the same problem and wrote a script to find all the
files which have blank lines after ?>
Checkout my blog post
http://ragrawal.wordpress.com/2007/11/07/script-for-removing-blank-spaces-before-and-after-php-tags/

If you are using cygwin or linux, then checkout the second part of the
above post.
hope it helps

Regards,
Ritesh

On Jun 12, 8:22 am, Dan Soendergaard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I followedhttp://book.cakephp.org/view/483/creating-an-rss-feed-with-the-
> to create an RSS project for my app (Cake 1.2 RC1, rev. 7089).
> Debugging is turned off. Going tohttp://example.com/projects/index.rss
> causes Firefox to download the RSS feed instead of showing it the
> usual way. Also, when validating the feed results in this:
>
> This feed does not validate.
>       line 1, column 0: XML parsing error: <unknown>:2:0: xml
> declaration not at start of external entity
>
> Apparently the first line of the file is blank which messes everything
> up. I've tried moving all echo statements to the same line as the <?
> php-tag, with no luck whatsoever. My issue reminds a lot of this
> tickethttps://trac.cakephp.org/ticket/2761but it should be solved a
> long time ago :)
>
> Suggestions are welcome!
>
> Sincerely,
> Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to