Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Some space added before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


Reply


2 Posts   1129 Views

Avatar
rcsoumen

Community Member, 1 Post

8 July 2009 at 6:31pm

When the page rendered I saw a line is added in the front of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

It is happening in every template. There is no leading space present in any of the template.
Please help me to solve this problem.

Thanks in advance

Soumen

Avatar
Fuzz10

Community Member, 787 Posts

8 July 2009 at 9:42pm

In your php-code-files , try stripping out the ending PHP tags ?> .....