Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

[prev] [thread] [next] [Date index for 2005/05/13]

From: Stas Bekman
Subject: Re: It did not QUITE work! Re: "strange error" is related to CGI.pm
Date: 16:10 on 13 May 2005
Stas Bekman wrote:
> Igor Chudov wrote:
> 
>> I was too quick to say that it worked. It does not
>> quite work with another PerlHandler of mine.
>> I make a form, if I submit it with a GET method, it
>> works. If I submit it with a POST handler, CGI fails
>> to get parameters. I am most puzzled.
> 
> 
> Add:
> 
> PerlModule Apache2::RequestIO
> 
> at the server startup then.
> 
> Next check that you are using the latest CGI.pm which should work fine. 
> Which CGI.pm version do you use?

Actually scratch that. It seems like a bug in CGI.pm. Please try this patch:

--- CGI.pm.orig 2005-05-13 12:09:12.000000000 -0400
+++ CGI.pm      2005-05-13 12:09:22.000000000 -0400
@@ -184,6 +184,7 @@
      require Apache2::Response;
      require Apache2::RequestRec;
      require Apache2::RequestUtil;
+    require Apache2::RequestIO;
      require APR::Pool;
    } else {
      $MOD_PERL = 1;


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

"strange error" is related to CGI.pm
Igor Chudov 15:11 on 12 May 2005

Re: "strange error" is related to CGI.pm
Tom Schindl 08:12 on 13 May 2005

Re: "strange error" is related to CGI.pm
Igor Chudov 13:11 on 13 May 2005

Re: "strange error" is related to CGI.pm
Tom Schindl 13:39 on 13 May 2005

Re: "strange error" is related to CGI.pm
Willem Jan Withagen 13:46 on 13 May 2005

Re: "strange error" is related to CGI.pm
Igor Chudov 13:59 on 13 May 2005

Re: "strange error" is related to CGI.pm
Randy Kobes 14:04 on 13 May 2005

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm
Stas Bekman 16:10 on 13 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52