Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STS and w3c html validation


sitefire

Recommended Posts

Posted

I have been validating my site and have it down to only 3 errors but need some assistance.

I have a RCR2a shop with HTC SEO and STS 4.5.8 in the validation process I get the following 3 errors.

 

Error  Line 61, Column 350: end tag for element "A" which is not open

…ass="headerNavigation">My Account</a> | <a href=http://www.mysite.com/shoppi..

 

Line 61, Column 444: end tag for element "A" which is not open

…="headerNavigation">Cart Contents</a> | <a href=http://www.mysite.com/checko..

 

Line 61, Column 537: end tag for element "A" which is not open

…class="headerNavigation">Checkout</a>   </td>

 

All 3 errors are related to the way the place holders in STS are handled for $myaccountlogoff $cartcontents $checkout , when I place direct links to the php files instead of the place holders it validates, however things like "logoff account" are lost. I'm sure there must be a fix in the php files to return the desired formating for the html just not sure where to look.

 

Here is a snipet of what does validate but as mentioned some things like logoff account dont show.

<td align="right" class="headerNavigation"><a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="account.php" class="headerNavigation">My Account</a> | <a href="shopping_cart.php" class="headerNavigation">Cart Contents</a> | <a href="checkout_shipping.php" class="headerNavigation">Checkout</a> </td>

 

Any help is greatly appreciated.

Posted

I have been validating my site and have it down to only 3 errors but need some assistance.

I have a RCR2a shop with HTC SEO and STS 4.5.8 in the validation process I get the following 3 errors.

 

Error  Line 61, Column 350: end tag for element "A" which is not open

…ass="headerNavigation">My Account</a> | <a href=http://www.mysite.com/shoppi..

 

Line 61, Column 444: end tag for element "A" which is not open

…="headerNavigation">Cart Contents</a> | <a href=http://www.mysite.com/checko..

 

Line 61, Column 537: end tag for element "A" which is not open

…class="headerNavigation">Checkout</a>   </td>

 

All 3 errors are related to the way the place holders in STS are handled for $myaccountlogoff $cartcontents $checkout , when I place direct links to the php files instead of the place holders it validates, however things like "logoff account" are lost. I'm sure there must be a fix in the php files to return the desired formating for the html just not sure where to look.

 

Here is a snipet of what does validate but as mentioned some things like logoff account dont show.

<td align="right" class="headerNavigation"><a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="account.php" class="headerNavigation">My Account</a> | <a href="shopping_cart.php" class="headerNavigation">Cart Contents</a> | <a href="checkout_shipping.php" class="headerNavigation">Checkout</a> </td>

 

Any help is greatly appreciated.

Find the support thread for your version of STS (somewhere here) and post in it.

 

I think you're far more likely to get help quicker there.

:thumbsup:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...