nubbin Posted May 19, 2010 Posted May 19, 2010 I installed OSCThumb v1.2 onto OSCrc2a a few weeks ago. I thought it was all working ok until I ran the home page through the W3C validator. I am getting nearly 150 validation errors when OSCThumb is switched on. Many are like this: # Line 43, column 126: "1" is not a member of a group specified for any attribute …g src="images/pixel_trans.gif" border="0" alt="" width="11" height="14" 1></td> # Line 50, column 85: "1" is not a member of a group specified for any attribute … src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1" 1></td> # Line 56, column 85: "1" is not a member of a group specified for any attribute … src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1" 1></td> It looks like the character 1 has somehow been mistakenly inserted near the end of each line I would really appreciate it if someone could help me track down where this error is occurring and how to fix it. Cheers Quote
nubbin Posted May 19, 2010 Author Posted May 19, 2010 I installed OSCThumb v1.2 onto OSCrc2a a few weeks ago. I thought it was all working ok until I ran the home page through the W3C validator. I am getting nearly 150 validation errors when OSCThumb is switched on. Many are like this: # Line 43, column 126: "1" is not a member of a group specified for any attribute …g src="images/pixel_trans.gif" border="0" alt="" width="11" height="14" 1></td> # Line 50, column 85: "1" is not a member of a group specified for any attribute … src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1" 1></td> # Line 56, column 85: "1" is not a member of a group specified for any attribute … src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1" 1></td> It looks like the character 1 has somehow been mistakenly inserted near the end of each line I would really appreciate it if someone could help me track down where this error is occurring and how to fix it. Cheers I've discovered the errors shown above are not caused by OSCThumb. But, I cannot work out which part of the code is creating this HTML and how the erroneous 1 is getting inserted. Please can someone explain where I should be looking for the bug. Thanks Quote
germ Posted May 20, 2010 Posted May 20, 2010 In these functions in /catalog/includes/functions/html_output.php function tep_draw_separator() function tep_image() Quote 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 >
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.