From: http://anastigmatix.net/ Date: Mon, 15 Aug 2016 01:50:30 +0000 (-0400) Subject: Ask about emailauth: Not enough arguments for IkiWiki::cgi_getsession X-Git-Tag: 3.20160905~60 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/2249e803accc76fab65c62385d6d3e44902b8de1?ds=sidebyside Ask about emailauth: Not enough arguments for IkiWiki::cgi_getsession --- diff --git a/doc/forum/emailauth:_Not_enough_arguments_for_IkiWiki::cgi__95__getsession.mdwn b/doc/forum/emailauth:_Not_enough_arguments_for_IkiWiki::cgi__95__getsession.mdwn new file mode 100644 index 000000000..60da378fb --- /dev/null +++ b/doc/forum/emailauth:_Not_enough_arguments_for_IkiWiki::cgi__95__getsession.mdwn @@ -0,0 +1,20 @@ +I'm doing a (belated) update from a version before emailauth was available, +and I get the error: + + Failed to load plugin IkiWiki::Plugin::emailauth: Not enough arguments for IkiWiki::cgi_getsession + +and sure enough, emailauth.pm line 175 has + + my $session=IkiWiki::cgi_getsession(); + +while `cgi_getsession` is declared in CGI.pm as + + sub cgi_getsession ($) { + my $q=shift; + ... + +and browsing through git history, it looks like it has always been that way. +Now, I have some local mods merged in, so it is possible one of them has +broken something, but before I begin questioning my sanity, just by looking +at these lines in the unmodified ikiwiki repo, um, has this ever worked? +And, why?