Menu

#1 Produces no output with no template file

1.1.1
open
nobody
Perl (4)
6
2001-07-18
2001-07-18
No

If you do not specify a IndexTemplateFile but do
specify a ScriptRoot, then it opens the ScriptRoot
directory and tries to interpret it as a template
file. It succeeds but reads no data and as a result
you end up with a null template file, and hence no <!--
ExplorerIndex#Index--!> so no index is generated.

The fix is to only use the ScriptRoot if the
IndexTemplateFile exists.

Nigel

Discussion


Log in to post a comment.

MongoDB Logo MongoDB