Page 1 of 1

Page header code in content blocks

Posted: Wed May 21, 2014 12:25 pm
by uteach
The page header code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
</head>
</__body>

is automatically appearing in every content block when saved or edited. When I view as HTML it keeps coming back each time I go to edit any page.

at the end of the content I get:
<__body>
</__html>

So when the page is published the are several page header tags throughout the page.

I have set up many CMSMS site and this is the only time I have seen this. Is there a way to stop this happening.

Re: Page header code in content blocks

Posted: Wed May 21, 2014 12:35 pm
by Jo Morg
Please post more info! System info, what where you trying to do... etc...

Re: Page header code in content blocks

Posted: Wed May 21, 2014 12:41 pm
by uteach
All content blocks in the page edit area, when viewed in html have this: ie

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
</head>
</__body>
<p>Our People</p>
<__body>
</__html>

Using CMS Version 1.11.7

I can delete it and save which will remove it. But when I come to edit the content again, it comes back

Re: Page header code in content blocks

Posted: Wed May 21, 2014 12:46 pm
by uteach
I'm using

Apache version 2.2.25
PHP version 5.3.27
MySQL version 5.5.36-cll
Architecture x86_64
Operating system linux

I have 5 other sites on this server all running CMSMS same configuration but don't have this problem

Re: Page header code in content blocks

Posted: Wed May 21, 2014 1:17 pm
by Jo Morg
What modules do you have installed?
Which WYSIWYG module are you using?
As a 1st guess there has to be something different between installations according to
uteach wrote:I have 5 other sites on this server all running CMSMS same configuration but don't have this problem

Re: Page header code in content blocks

Posted: Wed Dec 10, 2014 5:19 pm
by Dr.CSS
I've seen this from someone trying to use the template plugin(don't remember the name of it) in tinyMCE, check to make sure it isn't checked in the tiny admin plugins tab...