Hi all, I have a very curious issue and I'm absolutely stumped as to why its happening
When I check my site using firebug it shows the head section as empty and the code from it in the body section??? With 2 empty paragraphs that are not in my Page.ss
When I try to validate on w3c it says "No DOCTYPE found, and unknown root element. Aborting validation" and "No XML declaration (e.g <?xml version="1.0"?>) " but they are both in my Page.ss.
I'm very confused by this and hope someone can help. Thanks for listening :)
This is what shows in Firebug
<html lang="en">
<head></head>
<body>
<p> </p>
<p> </p>
<base href="http://mysite.com/">
<title>mysite | About</title>
<meta content="SilverStripe - http://silverstripe.org" name="generator">
<meta content="text/html; charset=utf-8" http-equiv="Content-type">
<base href="http://mysite.com/preview/"><!--[if lte IE 6]></base><![endif]-->
<!--<title>mysite | About</title>
<meta name="generator" content="SilverStripe - http://silverstripe.org" >
<meta http-equiv="Content-type" content="text/html; charset=utf-8" >
-->
<meta content="noindex, nofollow" name="robots">
<link href="-----------------------------------------------------------------------" type="text/css" rel="stylesheet">
<link href="-----------------------------------------------------------------------" type="text/css" rel="stylesheet">
<div id="container">
And this is what my Page.ss looks like
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<% base_tag %>
$MetaTags
<% require themedCSS(screen) %>
</head>
<body>
<div id="container">