Sunday, August 30, 2009

Re: Extra newline character in every page??

Check your php files (models, controllers, etc) for whitespace before/
after php tags.

On Aug 29, 4:50 pm, Weber Chu <weberwp...@gmail.com> wrote:
> I found there is newline character "\r\n" in the start of every page
> no matter which layout I am using.
>
> i.e. before "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1......."
>
> I have also checked that all layour .ctp do not contain "\r\n" at the
> start.
> This make my captcha image cannot be shown properly.
>
> Does anybody know what is happening? Thank you.
--~--~---------~--~----~------------~-------~--~----~
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: