X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e0c387c8d048107edf9549d0f353d23d313620b7..35ee7e44a62f9126a83c1243b549d47cc5ca7b43:/doc/bugs/Problems_using_cygwin.mdwn diff --git a/doc/bugs/Problems_using_cygwin.mdwn b/doc/bugs/Problems_using_cygwin.mdwn index fca14f112..8c615f296 100644 --- a/doc/bugs/Problems_using_cygwin.mdwn +++ b/doc/bugs/Problems_using_cygwin.mdwn @@ -19,7 +19,37 @@ Can anyone decipher this for me? I spent some time with cpan earlier today down I have version 3.0401 of CGI::FormBuilder -- the latest from CPAN. If you are wondering about any other modules, the answer is likely the same: the latest from CPAN. And you're right: the error string in question does not appear in CGI::FormBuilder. I found it in HTML::Template (version 2.8). -OK, so downgrading CGI::FormBuilder to 3.0302 makes the problem go away. I'll leave it to you to figure out whether the bug is in CGI::FormBuilder or in IkiWiki. --[[Steve]] +----- +OK, so downgrading CGI::FormBuilder to 3.0302 makes the problem go away. I'll leave it to you to figure out whether the bug is in CGI::FormBuilder or in IkiWiki. --Steve +Maybee this bug should be renamed as "doesn't work with CGI::FormBuilder (3.04)." I get same error on FreeBSD. + HTML::Template::param() : attempt to set parameter 'form-submit' with an array + ref - parameter is not a TMPL_LOOP! + at /usr/local/lib/perl5/site_perl/5.8.7/CGI/FormBuilder.pm line 1415 + +version info: + + root@freedom# pkg_info | grep p5-CGI + p5-CGI-FastTemplate-1.09 Perl module for manage templates and parses templates + p5-CGI-FormBuilder-3.0401 FormBuilder for CGI + p5-CGI-Session-4.14 Perl extension for persistent session management + +--Mark + +> Seems likely.. So far I've been lazy and stuck with the FormBuilder in Debian, so haven't got a system I can debug this on (sorry). --[[Joey]] + +----- + +A different problem has reared its ugly head. When I click on "RecentChanges", the CGI complains about an undefined subroutine: + +
+==> apache2/error_log <==
+[Thu Oct 12 16:20:52 2006] [error] [client 192.168.0.125] Undefined subroutine &IkiWiki::XMLin called at /usr/lib/perl5/site_perl/5.8/IkiWiki/Rcs/svn.pm line 143., referer: http://imrisws36/wiki/index.html?updated
+[Thu Oct 12 16:20:52 2006] [error] [client 192.168.0.125] Premature end of script headers: ikiwiki.cgi, referer: http://imrisws36/wiki/index.html?updated
+
+ +Indeed there is no such routine IkiWiki::XMLin(). I don't understand how this can possibly work -- as it manifestly does on linux. + +> XMLin is supposed to be exported by XML::Simple. My guess is that, due to a missing error check, XML::Simple is failing to load, and it's not aborting then. You probably need to install that module; in the meantime, I've fixed the missing error check in svn. --[[Joey]] \ No newline at end of file