]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/forum/emailauth:_Not_enough_arguments_for_IkiWiki::cgi__95__getsession.mdwn
no time to do maser for now, but some pointers and thanks
[git.ikiwiki.info.git] / doc / forum / emailauth:_Not_enough_arguments_for_IkiWiki::cgi__95__getsession.mdwn
1 I'm doing a (belated) update from a version before emailauth was available,
2 and I get the error:
4     Failed to load plugin IkiWiki::Plugin::emailauth: Not enough arguments for IkiWiki::cgi_getsession
6 and sure enough, emailauth.pm line 175 has
8     my $session=IkiWiki::cgi_getsession();
10 while `cgi_getsession` is declared in CGI.pm as
12     sub cgi_getsession ($) {
13         my $q=shift;
14         ...
16 and browsing through git history, it looks like it has always been that way.
17 Now, I have some local mods merged in, so it is possible one of them has
18 broken something, but before I begin questioning my sanity, just by looking
19 at these lines in the unmodified ikiwiki repo, um, has this ever worked?
20 And, why?