This question about LDAP: Asked
Main.WikiUsers blank (completely empty) when using VIEW_TEMPLATE = LdapWikiUsersView
Hello,
on my Foswiki I installed
LdapNgPlugin together with
LdapContrib to integrate LDAP. LDAP basically works, i.e., users are authorized according to LDAP login credentials, LDAP groups can be used to specifiy access and %LDAPUSERS{limit="1000"}% outputs a long list of users.
However,
WikiUsers is not created/maintained if
LdapContrib is used, but I'd like a list of
WikiUsers. So I followed the instructions on
LdapNgPlugin that state that to display an according list of all
WikiUsers,
LdapNgPlugin comes with a
view template that you have to apply to the
WikiUsers topic by adding
* Set VIEW_TEMPLATE = LdapWikiUsersView
I added it to WikiUsers and now when viewing WikiUsers, a blank page is returned. I mean completely blank, not even and controls or links. The page source consists of "<!-- -->".
Why is this and how do I debug this?
--
DannyBoy - 23 Feb 2017
My first guess is simply that you need to include the web reference for the view template.
* Set VIEW_TEMPLATE = %SYSTEMWEB%.LdapWikiUsersView
--
LynnwoodBrown - 23 Feb 2017
Lynwood,
Thanks for your answer. Sadly, it did not resolve the issue. The "/bin/view/Main/WikiUsers" page still renders as completely empty.
Any other ideas how to debug this issue?
--
DannyBoy - 27 Feb 2017
Danny - one thing I didn't check is if you're using either
AutoTemplatePlugin or
AutoViewTemplatePlugin (probably the former if you're using
NatSkin). If so, the view template for WikiUsers is specified in
configure
under that plugin's settings and iir, there's an option to allow (or not) local setting of view template to override that. Check on that and let me know.
--
LynnwoodBrown - 27 Feb 2017