[Solved] My site does not validate. Why?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
replytomk3

[Solved] My site does not validate. Why?

Post by replytomk3 »

My site does not validate. Why?
http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fmkrd.info%2F
http://validator.w3.org/check?uri=http%3A%2F%2Fmkrd.info%2F&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.654

I have been starting at this for some time, but I have no idea what it wants from me. I have compared the source to cmsmadesimple.org and I do not see any difference with things like DOCTYPE and .
Last edited by replytomk3 on Fri May 22, 2009 2:05 am, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: My site does not validate. Why?

Post by Nullig »

In the middle of your page you have:

Code: Select all

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

</head>
</__body>
<p>Hello and welcome to MKRD.info</p>
Some weird GCB?

Nullig
replytomk3

Re: My site does not validate. Why?

Post by replytomk3 »

No, that page should not have anything other than text and links (ignore the ampersand errors for now). I have just copied the contents of the tinyMCE, went into HTML, deleted everything, back into WYSIWUG, paste in just text. So all errors are either tinyMCE or CMSMS's fault, not mine.
replytomk3

Re: My site does not validate. Why?

Post by replytomk3 »

replytomk3

Re: My site does not validate. Why?

Post by replytomk3 »

Anyone? I am basically having three errors for all pages, even blank. This is a new blank page test: http://htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fmkrd.info%2Ftest.html&warnings=yes for page http://mkrd.info/test.html.

Need help.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: My site does not validate. Why?

Post by Nullig »

If you look at the page source, you'll find this in the middle, right after your content:

Code: Select all

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

</head>
</__body>
Test.
<__body>
</__html> 
Perhaps if you post your page template, we could see the problem. There may be something after the {content} tag that is causing this.

Nullig
replytomk3

Re: My site does not validate. Why?

Post by replytomk3 »

This is finally almost over. I have installed a "fullpage" module for tinyMCE. It inserts its own metadata for every page that you edit with the editor. Only one problem left with "Enter Search...: ..." http://htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fmkrd.info%2Ftest.html&warnings=yes

"Enter Search..." Should be INSIDE the search box, not outside. How did it get there?



It's over. I have reinstalled Search module. Thanks to Nullig.
Last edited by replytomk3 on Fri May 22, 2009 2:04 am, edited 1 time in total.
Locked

Return to “Layout and Design (CSS & HTML)”