After adding code to my gallery I did a validation check. Fixed some things from the new code, and then came across an error about tr tags. This was in my custom theme so I checked the classic theme in my gallery and found the same error. To rule out something with my gallery, I checked out the Demo gallery using classic theme and got the same error:
http://validator.w3.org/check?uri=http%3A%2F%2Fcoppermine-gallery.net%2Fdemo%2Fcpg14x%2Findex.php%3F4x%3D%26theme%3Dclassic&charset=%28detect+automatically%29&doctype=Inline&ss=1&verbose=1
Anyone know what happened?
Yes if you take a look at $template_album_list variable under themes.inc.php you'll find {TABS} place holder under <tr>....</tr>
tag , So when we have not any tabs that palce holder return nothing so we have <tr></tr> without <td></td> tags and this will cause validation end in failure (missing childe node)
IMO , we can initilay set {TABS} to something like <td></td> or change the create_tabs function under functions.inc.php to return those tags ...
Validation passes for this page, so the issue has been fixed. Marking thread as "Fixed"