they save your utf8 encoded pages with BOM without even asking etc.
those might be interpreted as newline (at the beginning of the
document)
you should save your documents with proper editors - not using BOM
just normal "utf8"
well - the symptoms are similar - so i guess this could be your
problem
On 30 Aug., 17:07, "Dr. Loboto" <drlob...@gmail.com> wrote:
> 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:
Post a Comment