Zen Cart Logo
Forums / General Questions / Can't Find This Validation Error

Can't Find This Validation Error

Views: 568

Results 1 to 3 of 3
16 Aug 2013, 1:29 AM
#1
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Can't Find This Validation Error

I'm getting this validation error from within<!--BOF footer menu display--> :

Line 663, Column 82: cannot generate system identifier for general entity "cPath"

…snob.authsafe.com/index.php?main_page=index&cPath=656">Women's Perfume</a></li>

I'm getting a few errors regarding this with the following explanations:

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs

**If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text. **

Is this just a matter of making the ampersand look like &?

I've checked several folders and I can't find this although I do see it in View Source. Where would i make the correction(s)?

I see <!--BOF footer menu display--> in includes/templates/custom/common/tpl_footer.php but it doesn't contain the line with the error.

Thanks!

16 Aug 2013, 5:03 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can't Find This Validation Error

Any link generated via the zen_href_link() function will properly have the & symbol where it's needed.

So if the validator is pointing out that you've got links that use just & instead of & then those links are things you added yourself someplace. Go fix them.

20 Aug 2013, 9:13 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Can't Find This Validation Error

Put the page(s) through http://validator.w3.org and check the box that says SHOW SOURCE. Then REVALIDATE and look at the revealed source (scroll down) to see where it is referenced. This will point to the area(s) that need attention.