
Originally Posted by
rstevenson
Many of those errors are "cascade" errors. That is, the first error triggers a second one which triggers a third one, and so on. From what I can see the first error is just an incorrect closing tag in one of the head tags...
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
So find where you put the code for the favicon, fix it with the correct closing for the XHTML doctype, then redo the validation. It should be...
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
Note the addition of a space and a slash at the end of the bracket. (The space is also needed to fix several other errors.)
Fix the next one at the top of the list, and so on. most of the errors will magically disappear after you fix the first few. (Don't worry about the ampersand ones. Yes, technically they're errors, but they won't have any effect on anything else.)
Rob
CORE zencart deals with the FAVICON automatically and properly:
PHP Code:
<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>
... so if you are getting errors here, then your custom template has HARD-CODED this into the HTML header. The fact that this has been "manually adjusted" at some point, would make me suspicious about other possible "hard coding" has occurred.
I would be concerned about things like this. There is NO NEED to manually adjust the FAVICON coding, and the fact that it HAS been adjusted, indicates that the person adjusting it has a poor understanding of some of the fundamentals of ZC. Other tinkering may have gone on...