[Fixed]: validation error: end tag for "tr" which is not finished [Fixed]: validation error: end tag for "tr" which is not finished
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Fixed]: validation error: end tag for "tr" which is not finished

Started by Tranz, September 17, 2006, 10:16:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tranz

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?

Sami

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 ...
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Validation passes for this page, so the issue has been fixed. Marking thread as "Fixed"