aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://anastigmatix.net/ <http://anastigmatix.net/@web>2016-08-14 21:50:30 -0400
committeradmin <admin@branchable.com>2016-08-14 21:50:30 -0400
commit2249e803accc76fab65c62385d6d3e44902b8de1 (patch)
tree1377ed85a7574a8c72d25d13445f545f1ffad576 /doc
parentf582a0fcf202732c418ccd2760739aef8ea55094 (diff)
downloadikiwiki-2249e803accc76fab65c62385d6d3e44902b8de1.tar
ikiwiki-2249e803accc76fab65c62385d6d3e44902b8de1.tar.gz
Ask about emailauth: Not enough arguments for IkiWiki::cgi_getsession
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/emailauth:_Not_enough_arguments_for_IkiWiki::cgi__95__getsession.mdwn20
1 files changed, 20 insertions, 0 deletions
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?