summaryrefslogtreecommitdiff
path: root/doc/bugs/Comments_dissapeared.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-21 16:14:23 -0400
committerJoey Hess <joey@kitenet.net>2010-04-21 16:14:23 -0400
commite9551afc5f2e5a5e8ef28f5e68d5159692cba9dc (patch)
tree44b42ae30a25cadb729dd61971baae052cff0590 /doc/bugs/Comments_dissapeared.mdwn
parent6a30b45e7521f98a3e94b04ff46eeeb7f80774ca (diff)
parent86e73e42e835821984fdf6dc5671dae06cec5f90 (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/bugs/Comments_dissapeared.mdwn')
-rw-r--r--doc/bugs/Comments_dissapeared.mdwn34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/Comments_dissapeared.mdwn b/doc/bugs/Comments_dissapeared.mdwn
index 7ff1a012f..787f18c98 100644
--- a/doc/bugs/Comments_dissapeared.mdwn
+++ b/doc/bugs/Comments_dissapeared.mdwn
@@ -33,3 +33,37 @@ I have tried rebuilding on my squeeze system and still comments don't appear. An
<http://natalian.org/comments/>
I was worried is was due to a time skew problem I was experiencing on my VPS in the last month, though the time is right now and still comments do not appear on blog posts like <http://natalian.org/archives/2010/03/25/BBC_News_complaints/>
+
+# Debugging templates
+
+`sudo apt-get install libhtml-template-compiled-perl`
+
+ hendry@webconverger templates$ cat test-template.perl
+ #!/usr/bin/perl
+ use HTML::Template::Compiled;
+ local $HTML::Template::Compiled::DEBUG = 1;
+ my $htc = HTML::Template::Compiled->new(
+ filename => "$ARGV[0]",
+ );
+ eval {
+ print $htc->output;
+ };
+ if ($@) {
+ # reports as text
+ my $msg = $htc->debug_code;
+ # reports as a html table
+ my $msg_html = $htc->debug_code('html');
+ }
+ hendry@webconverger templates$ ./test-template.perl page.tmpl
+ Missing closing tag for 'IF' atend of page.tmpl line 159
+
+
+I think the problem was before that it was `<TMPL_IF COMMENTS>` and now it is `<TMPL_IF NAME="COMMENTS">` ?
+
+
+
+# Solved
+
+A merge with the templates in master with my [html5](http://git.webconverger.org/?p=ikiwiki;a=shortlog;h=refs/heads/html5) branch looks like it has solved the problem. Also see [[bugs/html5_support]].
+
+[[bugs/done]]