validation error

  • Posts: 117
  • Thank you received: 0
13 years 5 months ago #21742

I was just checking the html validator and it found an error. I do not know where to find this to fix it?

Many thanks
Sarah

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83023
  • Thank you received: 13403
  • MODERATOR
13 years 5 months ago #21750

That sounds like the problem comes from the place where the module is used (your template ?, a joomla article ?) which has a <p></p> tag around the modules loading tag which is not possible. The problem is not in HikaShop.

Please Log in or Create an account to join the conversation.

  • Posts: 117
  • Thank you received: 0
13 years 5 months ago #21756

Ok Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 0
11 years 2 months ago #124963

I'm actually receiving numerous validation problems with Hikashop:

validator.w3.org/check?uri=http%3A%2F%2F...ctype=Inline&group=0

If I could fix these I would be able to use the scriptsdown plugin - it requires valid html - and that would help a lot. Any ideas how to fix these issues?

Luke

Please Log in or Create an account to join the conversation.

  • Posts: 83023
  • Thank you received: 13403
  • MODERATOR
11 years 2 months ago #124967

Hi,

Unfortunately, most of the errors listed there do not come from HikaShop or we can't do much about them.

Error Line 2, Column 92: duplicate specification of attribute "xmlns:fb"
…mlns:og=" ogp.me/ns# " xmlns:fb=" ogp.me/ns/fb# " xmlns="http://www…

You have specified an attribute more than once. Example: Using the "height" attribute twice on the same "img" tag.

This comes from the facebook xmln attributes as they are not standard attributes of XHTML 1.0 Transitional.

Line 468, Column 80: document type does not allow element "div" here
…<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',

This doesn't come from HikaShop.

Line 749, Column 28: value of attribute "id" must be a single token
<div id="hikashop_product_5 Dalek_28_page" class="hikashop_product_page" itemsc…

This is because you have spaces in your product code, while it should not be the case.

Line 749, Column 84: "itemscope" is not a member of a group specified for any attribute
…" class="hikashop_product_page" itemscope itemtype=" schema.org/Product ">

These come from the microdata elements added by the microdata plugin. They are not standard XHTML 1.0 elements. The only solution, like for facebook, would be to not use the plugin adding them.
Line 857, Column 190: ID "hikashop_main_image_link" already defined
…is,{parse: 'rel'});return false;" id="hikashop_main_image_link"><img src="/med…
This is because you have variants and the main image of the variants have the same id for each one. We'll change that for next version.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum