Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Fixed]: validation error: end tag for "tr" which is not finished  (Read 13738 times)

0 Members and 1 Guest are viewing this topic.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
[Fixed]: validation error: end tag for "tr" which is not finished
« on: September 17, 2006, 10:16:37 pm »

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?
« Last Edit: October 19, 2008, 12:59:40 pm by Joachim Müller »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: validation error: end tag for "tr" which is not finished
« Reply #1 on: September 18, 2006, 11:46:22 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: validation error: end tag for "tr" which is not finished
« Reply #2 on: October 19, 2008, 12:59:31 pm »

Validation passes for this page, so the issue has been fixed. Marking thread as "Fixed"
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.