From fa6d082955dbc75de62839e285c0d441cd83acb1 Mon Sep 17 00:00:00 2001 From: bhobbit Date: Tue, 9 Mar 2010 10:50:03 +0000 Subject: --- ...eption:_Unknown_function___96__this__39___.mdwn | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn b/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn index ac4d7ed12..4f94b77bd 100644 --- a/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn +++ b/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn @@ -27,3 +27,26 @@ What might be causing this exception and how I might go about debugging exceptio >>>>> I don't see how that's relevant. It would help if you showed me >>>>> exactly something that could be inserted into a page to cause the >>>>> problem. --[[Joey]] + +>>>>>> Correct me if I'm wrong: ikiwiki generates an Omega template from its own templates, such as searchquery.tmpl and puts it into {$srcdir}/.ikiwiki/xapian/templates/query. Omega has its own template syntax, where function names are prefixed with dollar signs (`$`). So, when I call my wiki `$foobar`, ikiwiki generates an Omega template that looks like this snippet: + +
+ + +
+ $setmap{prefix,title,S} + $setmap{prefix,link,XLINK} + $set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France} + ${ + $def{PREV, + $if{$ne{$topdoc,0},, + } + +>>>>>> So `$foobar` clashes with Omega's template tags. Does this help? -- cgit v1.2.3