| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
2 validation errors on all product pages | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
2 validation errors on all product pages
Hello all,
Getting 2 validation errors on my product pages and at a bit of a loss how to solve these. Any help appreciated. Validation Output: 2 Errors Error Line 310, Column 9: end tag for "tr" which is not finished </tr> 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 require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on. Error Line 343, Column 15: end tag for "tr" which is not finished </tr> 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 require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on. ********* <table cellspacing="0" class="product-properties" summary="Description"> <tr> </tr> ********** LINE 310 ********* ********* <table class="save_table"> <tr> <td valign="top"> <div> <span class="product-price-value"><span class="currency">£<span id="product_price">5.99</span></span></span> <span class="product-market-price"></span> </div> </td> </tr> <tr> </tr> *********** LINE 343 </table> </td> </tr> <tr> <td colspan="3"><div id="wl-prices" style="display: none;"> ********* |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: 2 validation errors on all product pages
Yes, I see the errors on your product page. The table rows <tr> are started and closed </tr> but there is no columns <td></td> inside.
Take a look at the template that controls this page.customer/main/product_details.tpl I see in the original templates you may have removed the sku number from the page: Code:
You need to also remove the <tr></tr> tags.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||||
|
|||||||||
Re: 2 validation errors on all product pages
Thanks for that. Still 1 error though line 341.
There are 14 pairs of <tr></tr> in product_details.tpl, so its coming from somewhere else methinks?? Quote:
|
|||||||||
#4
|
|||||||||
|
|||||||||
Re: 2 validation errors on all product pages
Same template, I think you removed the product notifications and left the <tr></tr>
Original code: Code:
I would search for <tr> in the template and look for one that has no <td>. Look around line 100. I'm really just shooting in the dark though.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: 2 validation errors on all product pages
I looked at that so tried with an original file, the same 1 error.
Thanks for your help[ though - much appreciated. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|