Wednesday, January 2, 2013

Re: CakePHP 1.2 Layout error

My guess is that one of your files contains a byte-order mark (BOM)
which you should remove. What editor are you using?

Be sure to check not only your layout template, but any view or
element templates as well.

On Wed, Jan 2, 2013 at 1:39 AM, Marcus James <marcomtl@gmail.com> wrote:
> Hi,
>
> I made a custom layout for admin panel. The problem is when i validated my
> HTML i am getting an error
>
> " Non-space characters found without seeing a doctype first. Expected
> <!DOCTYPE html>."
>
> On Firefox the layout renders perfectly when i inspect it but on google
> chrome its showing an empty space inside body tag and all the html tag is
> going inside body tag.
>
> Any idea what the problem is?
>
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> 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.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

No comments: