W3C validation Error

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Wed Jun 30, 2010 3:10 am
I have run MyStore through the w3c.org validator and have come up with the same error 16 times, below is just one of the error mesages, I have tried it on two differnt sites that I have setup with the MYstore Quickstart and I am getting the same error on both sites.

please let me know what i can do to correct this error.

Thank you,

Jim



Line 260, Column 93: ID "addtocart" first defined here
../index.php" method="post" name="addtocart" id="addtocart">

Line 328, Column 93: ID "addtocart" already defined
../index.php" method="post" name="addtocart" id="addtocart">


An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
User avatar
Fresh Boarder

GK User
Thu Jul 01, 2010 1:25 pm
I have the same problem. I did Quickstart instalation and there are 10 Errors. The problem is with mod_gk_image_show. If I unpublish it than I have 0 errors.

Can you advice something, please ?


By the way, your demo MyStore has 0 errors.
User avatar
Fresh Boarder

teitbite
Fri Jul 02, 2010 12:02 pm
Hi

Please show me Your sites.
User avatar
Moderator

GK User
Fri Jul 02, 2010 1:01 pm
Here is ONLY quickstart instalation ...
http://www.mikrona.sk/eshop


And here is W3C result:
http://validator.w3.org/check?uri=http% ... ne&group=0
User avatar
Fresh Boarder

GK User
Fri Jul 02, 2010 2:12 pm
Actually, it's only 1 error. ;)
w3 validator is repeating 16 times same statement on every "add button" that exists.

I'm not sure if this can be fixed. Already report to our programmer.
Maybe we can fix this in next revision.
User avatar
Platinum Boarder

GK User
Fri Jul 02, 2010 2:33 pm
Thanks for your efforts Paulo.

Here is your demo:
http://validator.w3.org/check?uri=http% ... or%2F1.781

It is OK !
User avatar
Fresh Boarder

GK User
Fri Jul 02, 2010 2:39 pm
previuos link is not good for W3C ... :(

I have tried with link :
http://demo.gavick.com/joomla15/may2010/

and there is the same problem with 16 errors.

I wait for next revision ... :silly:
User avatar
Fresh Boarder

GK User
Sat Jul 03, 2010 3:27 am
Hi again

I'm sorry to inform that this problem is strictly connected with VM and we can't do anything. I have comment this with our programmer and he confirm this statement.

Sorry if we can't help more. :dry:

Cheers
User avatar
Platinum Boarder

GK User
Sat Jul 03, 2010 7:34 am
Thanks Paulo.

I understand.

VM code is very mess up. :S
User avatar
Fresh Boarder

GK User
Sat Jul 03, 2010 9:04 am
Hello,

I faced the same problem too.

this is because there's a "foreach" used to generate the related add to cart, but the function lacks an ID incrementation...
User avatar
Fresh Boarder


cron