Denkster Posted January 27, 2010 Share Posted January 27, 2010 I'm trying to sort out all my errors, and there's a few I can't do: Line 374, Column 245: cannot generate system identifier for general entity "eu" …und Sterling</option><option value="&eu">Euro</option><option value="USD">US Does anyone know how to solve this one? This is the UTF8 code for the euro-sign: € But here you need the 3-letter code for the euro, being EUR Eveline Link to comment Share on other sites More sharing options...
matrix2223 Posted February 11, 2010 Share Posted February 11, 2010 I got one error I cant seem to figure out, on index.php Line 187, Column 8: end tag for "TABLE" which is not finished </table> Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p> Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on. Line 184 to 191 is <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents"> </table> </td> </tr> </table> <!-- new_products_eof //--> Ive moved the table, added another /table I cant seem to shake this one, Any Ideas This is a stock install of RC2a Thanks Link to comment Share on other sites More sharing options...
blr044 Posted February 28, 2010 Share Posted February 28, 2010 Doing a google search, I ended up at this thread. Will post my issue here but I believe some of my concerns might have be posted in another thread. Am trying to valiadate my my index page at the present time at http://validator.w3.org/. This is the first time I have done this. Some of the errors do not make any sense, because I do not see anything wrong with them. Like this one: Line 52, Column 51: Attribute "HEIGHT" is not a valid attribute. Did you mean "height"? <table border="0" width="950" id="table7" height="255" background="images/headbanner.jpg"> The second big issue now is the links located upper right isde of the header. Am trying to fix the links. In doing so, I now the code is visible in the header. Which can be seen here. This is the code in header.php: <table cellspacing=0 cellpadding=0 width=121 align=center id="table11"> <tr><td><img border="0" src="images/m06.gif" width="5" height="5" alt=""><?php echo 'a href="' . tep_href_link(FILENAME_SITEMAP) . '">' . 'Sitemap' . '</a>'; ?><br class=px2></td> </tr> <tr><td><img border="0" src="images/m06.gif" width="5" height="5" alt=""> <a href="advanced_search.php">Search</a><br class=px2></td> </tr> <tr><td><img border="0" src="images/m06.gif" width="5" height="5" alt=""> <a href="contact_us.php">Contact Us</a><br class=px2></td> </tr> <tr><td><img border="0" src="images/m06.gif" width="5" height="5" alt=""> <a href="create_account.php">Create Account</a><br class=px2></td> </tr> <tr><td><img border="0" src="images/m06.gif" width="5" height="5" alt=""> <a href="login.php">Customer Login</a><br></td> </tr> </table> Working on first link now to get it the way it should before onto the others. I do have Ultimate SEO URLs installed. When validating and viewing I see siession id's after all links. Some of the errors when validating my site, is referring to <table>, <td>, and <tr>'s. But used Frontpage to create thoes tables. So is frontpage the cause? Hope I explained the so that you members can understand what I am asking for. Thanks. Bennett Link to comment Share on other sites More sharing options...
spooks Posted February 28, 2010 Share Posted February 28, 2010 Doing a google search, I ended up at this thread. Will post my issue here but I believe some of my concerns might have be posted in another thread. Am trying to valiadate my my index page at the present time at http://validator.w3.org/. This is the first time I have done this. Some of the errors do not make any sense, because I do not see anything wrong with them. Like this one: Line 52, Column 51: Attribute "HEIGHT" is not a valid attribute. Did you mean "height"? <table border="0" width="950" id="table7" height="255" background="images/headbanner.jpg"> its simply saying you have used caps for the attribute, which is invalid, you must use lowercase for all atributes and tags. also giving table a 'height' atribute is in itself invalid, use css if you need to do that. I scanned the rest of your post, but could not tell what you are asking, sorry. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
blr044 Posted March 1, 2010 Share Posted March 1, 2010 its simply saying you have used caps for the attribute, which is invalid, you must use lowercase for all atributes and tags. also giving table a 'height' atribute is in itself invalid, use css if you need to do that. I scanned the rest of your post, but could not tell what you are asking, sorry. Got the seond part of my last post #28 solved. Also removed the word "height" from the the header. Before removing that, I had 26 errors after validating home page. After the removal, I was still at 26 errors. So was curious, I renamed my index file and use a vanilla Rc2a index.php file and received 32 errors. All of those elements is part of the code in index.php or any other file. So how does one get around this? I have seen post here wher smome members receive 0 errors. Am trying to understand this. Some of the errors refer to the way I redesigned my header. I use FrontPage and the incorparated the table into my header.php. So is FP wrong for creating a table which is what I used to create the layout? Or should create the table using div's? there were a few members who hass done that. Am looking at to get the 26 errors down to 0. Thanks. Bennett Link to comment Share on other sites More sharing options...
spooks Posted March 1, 2010 Share Posted March 1, 2010 wysiwyg apps often produce poor code, & microsoft apps are the worst, making very bloated code to boot. If you will search the web there are apps for cleaning up MS's bloat!! If you look at the french osc forum, thier latest 2.2 version is already valid, there is also a add-on for making osC xhml valid. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
blr044 Posted March 13, 2010 Share Posted March 13, 2010 I made a major mistake and site was gone. So reinstalled the original backup. Which was the Rc2a and added the addon for XHTMLValid Catalog. But without any other addsons. When validating, I still receive 25 errors. Below is just two of the eight for this particular error. Line 258, Column 47: document type does not allow element "tr" here <tr class="upcomingProducts-odd"> The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). Line 262, Column 48: document type does not allow element "tr" here <tr class="upcomingProducts-even"> The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). Am sorry, but have read post where some members have 0 errors. Am not too knowledgeable on this issue. So if some fixes or solutions, it would highly appreciated. my site is brs-giftshopdotcom Thanks. Bennett Link to comment Share on other sites More sharing options...
robinio_1965 Posted December 15, 2010 Share Posted December 15, 2010 Used the W3 Validation and found 76 fauls in the website. Most of them i could fixmyself but there are a couple left and cant find the problem where to look: http://validator.w3.org/check?uri=http%3A%2F%2Frns-sieraden.nl&charset=%28detect+automatically%29&doctype=Inline&group=0 Can anyone give me hint where to look or what the problem is? Link to comment Share on other sites More sharing options...
burt Posted December 15, 2010 Share Posted December 15, 2010 Click the "show source" box. Line 172 ends with; </td></tr></td> Which is obviously incorrect. Link to comment Share on other sites More sharing options...
robinio_1965 Posted December 21, 2010 Share Posted December 21, 2010 Click the "show source" box. Line 172 ends with; </td></tr></td> Which is obviously incorrect. Yes, i know but have bin searching in all kinds of files and cant find the issue. Problem is that you cant see what file is called and where in this file to look. Really working on this problems now for days at an end to learn and understand. Therefore was hopping someone could give some inside info where to look. Link to comment Share on other sites More sharing options...
pdcelec Posted December 21, 2010 Share Posted December 21, 2010 Yes, i know but have bin searching in all kinds of files and cant find the issue. Problem is that you cant see what file is called and where in this file to look. Really working on this problems now for days at an end to learn and understand. Therefore was hopping someone could give some inside info where to look. Click on show source then re validate then click on the line error this will give you a clue (categories box in this instance) Link to comment Share on other sites More sharing options...
robinio_1965 Posted December 22, 2010 Share Posted December 22, 2010 Click on show source then re validate then click on the line error this will give you a clue (categories box in this instance) Mate, i'm so thankfull for pointing out where to start looking and have now 100% error free index. Took me a while but now also understand what did go wrong. Back to basic and start build the others into it and error free. Again big thanks. Robin Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.