Antivirus
05-01-2007, 07:33 PM
I've managed to get almost all our custom templates to be Valid XHTML 1.0 Transitional when checking them at the W3 Validator (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.eclipserecords.com%2F). The site is www.eclipserecords.com if you would like to see what I am talking about.
Problem is however, despite passing validation, when using Internet Explorer 7 and not logged in to the site, I get the Errors on page alert (see attached, lower left corner). As soon as I log in, there's no more error. Also of note, is that if I am not logged in on the forum main page, there is NO error.
The page error looks like this:
Line: 2
Char: 1
Error: syntax error
Code: 0
Url: http://www.eclipserecords.com
I may be going crazy here, but the code for the headers in my custom pages and in my forum main page are identical... shouldn't they both display the error or not?
I decided to take it 1 step further and use W3 Validator version 8 (beta) (http://validator-test.w3.org/check?uri=http%3A%2F%2Fwww.eclipserecords.com) and the newer version seems to find the error (line 2, char 1) so I know the issue is indeed within the first couple lines of the header template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="generator" content="Totally-customized vBulletin 3.6.5 on acid..." />
but it IS the same template being called regardless of whether or not being logged in, I double-checked it viewing source within my browser.
What is going on??? :(
Problem is however, despite passing validation, when using Internet Explorer 7 and not logged in to the site, I get the Errors on page alert (see attached, lower left corner). As soon as I log in, there's no more error. Also of note, is that if I am not logged in on the forum main page, there is NO error.
The page error looks like this:
Line: 2
Char: 1
Error: syntax error
Code: 0
Url: http://www.eclipserecords.com
I may be going crazy here, but the code for the headers in my custom pages and in my forum main page are identical... shouldn't they both display the error or not?
I decided to take it 1 step further and use W3 Validator version 8 (beta) (http://validator-test.w3.org/check?uri=http%3A%2F%2Fwww.eclipserecords.com) and the newer version seems to find the error (line 2, char 1) so I know the issue is indeed within the first couple lines of the header template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="generator" content="Totally-customized vBulletin 3.6.5 on acid..." />
but it IS the same template being called regardless of whether or not being logged in, I double-checked it viewing source within my browser.
What is going on??? :(