Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    link problem category links won't validate - help

    Hi,

    I had my site validating with the w3c html validator fine, until I put a 3x3 table in my main page containing category images and links to each category, now i get an error for each link because the links contain the character "&" and html thinks this is the beginning of an entity reference or something. I understand to correct this I have to write the links with "&" instead. The problem is when i do this in the plain text editor it wont let me save it????? any ideas anyone??

    Code:
             cannot generate system identifier for general entity "cPath"....e-vstore.com/index.php?main_page=index&cPath=9">Vibrators</a><br /></td><td a                 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 as described by the WDG in "Ampersands         in URLs".     
                Entity references start with an ampersand (&) and end with a       semicolon (;). If you want to use a literal ampersand in your document       you must encode it as "&amp;" (even inside URLs!). Be       careful to end entity references with a semicolon or your entity       reference may get interpreted in connection with the following text.       Also keep in mind that named entity references are case-sensitive;       &Aelig; and &aelig; are different characters.     
                If this error appears in some markup generated by PHP's session handling       code, this article has        explanations and solutions to your problem.     
                Note that in most documents, errors related to entity references will       trigger up to 5 separate messages from the Validator. Usually these       will all disappear when the original problem is fixed.
    Thank you in advance
    http://www.the-vstore.com
    "The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

  2. #2
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,158
    Plugin Contributions
    12

    Default Re: category links won't validate - help

    Are you sure you mean "plain text" editor? Normally, this sort of problem occurs when you use the HTMLarea text editor - even in Source mode - instead of plain text.
    The JSWeb Team
    www.JSWeb.co.uk
    PCI Compliant Host Provider (UK/IRELAND) - ZenCart Specialists

  3. #3
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: category links won't validate - help

    Why did you hardcode links when you could have just turned on the Categories Display from your Admin?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: category links won't validate - help

    hmmm....

    not sure why i didnt do that kim, i have done now and it is validating fine. thanks for the help and sorry for wasting forum space!

    I'm a ninny.
    "The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

  5. #5
    Join Date
    Jan 2007
    Location
    Florida/Missouri
    Posts
    78
    Plugin Contributions
    0

    Default Validation error

    After inserting a table my page validates okay. After inserting images or text I get the following error : "document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

    ...llpadding="4" width="100%" border="1"><tbody><tr><td><p align="center"> <img"

    I seem to get this alot when using tables, and not sure what Im doing wrong. Any clues I thank you
    an example of this error is at:

    http://www.pepper-spray.biz/index.ph...products_id=18

 

 

Similar Threads

  1. Overide help
    By RobWUK in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Jun 2007, 03:14 AM
  2. Category names (links) appear below the verbage
    By jdsmith8 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 Jan 2007, 02:50 AM
  3. Removing some links in the category section
    By j-slice in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 May 2006, 06:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •