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:28 on 13 May 2005
Igor Chudov wrote:
> --- Stas Bekman <stas@xxxxxx.xxx> wrote:
> 
> 
>>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. 
> 
> 
> Thanks. I tried it and it did not help.
> 
> 
>>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;
> 
> 
> I already applied this patch (at Randy's suggestion, I
> think). It did not help.

so what's the latest error that you get? The easiest way to help us to 
reproduce the problem is to download the Apache-Test Skeleton, that you 
can find linked from here:
http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description

add a *minimal* code that we can reproduce your problem with and send it 
here. Once we have it and we can reproduce it, it should be trivial to fix.

        -- 
        __________________________________________________________________
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:28 on 13 May 2005

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