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

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

From: Igor Chudov
Subject: Re: It did not QUITE work! Re: "strange error" is related to CGI.pm
Date: 16:30 on 13 May 2005
--- Stas Bekman <stas@xxxxxx.xxx> wrote:

> 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.

I do not get any error, however, CGI does not return
te needed form parameter value. As though the value
was never passed to the form. If I change the method
from POST to GET, everything is fine.

I will try to reproduce the minimal handler that
reproduces the problem.

igor


- Igor



		
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.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
Igor Chudov 16:30 on 13 May 2005

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