[Solved] ASP.pm and multipart/form .. error
hi, I moved to CGI.pm 2.74 and everything is OK now :") So be aware that u may have problems with the following config : RedHat 7.1 + Apache 1.3.20/mod_perl 1.25, ASP.pm, CGI ver 3.x CGI 3.01 even gives error on /compilation test. CGI 3.02 doesn't give this error HtH = iVAN [EMAIL PROTECTED] =
Re: [CGI.pm] ASP.pm and multipart/form .. error
hi again, I've made some tests and debuging, the problem seems to be in CGI module... first of all in eg/file_upload.asp this : print $q->start_multipart_form(); returns this : do U see no POST (the interesting thing is that $r->method returns GET in this case i didn't knowed that :") ).. even when I make it manualy and put debuging code into $Request object multipart handling if($@) { $self->{asp}->Error("can't use file upload without CGI.pm: $@"); } else { my %form; my $q = $self->{cgi} = new CGI; $self->{debug} = '-->'.$q->param('xxx');# <= there is one more text field in the form named 'xxx' for(my @names = $q->param) { my @params = $q->param($_); .. I get nothing into $$Request{debug} SO CAN SOMEONE TELL ME FROM WHERE I CAN GET CGI with LOWER VESRION THAN 3.02 :"( Thanx alot = iVAN [EMAIL PROTECTED] = > ivan wrote: > > > > hi there , > > > > I encoutred a problem with ASP.pm (ver.2.17) and multipart form what is > > happening is that when I try to use "file" fields I get something like this > > into the log > > > > [Mon Jul 9 23:20:22 2001] [error] [client 192.168.0.5] Invalid method in > > request -7d11b8668d0668 > > [Mon Jul 9 23:20:41 2001] [error] [client 192.168.0.5] Invalid method in > > request -7d13c1268d0668 > > [Mon Jul 9 23:21:41 2001] [error] [client 192.168.0.2] Invalid method in > > request -7d17811a20 > > > > if the form is normal (w/o enctype="multipart/form-data" ) I'm getting > > normally data into $Request.. nothing is crashing just I'm getting nothing > > into $Request collection... > > > > Can you get the ./site/eg/file_upload.asp example working from > the distribution? If so, see what's different about your script. > I believe I'm running the same Apache + modperl now too, and I > have never seen the problem you report, Apache 1.3.20, mod_perl 1.25 > > BTW, from the error, it doesn't look like it has to do with Apache::ASP. > Maybe someone from the modperl list will give you some better info > specific to modperl. > > -- Josh
Re: ASP.pm and multipart/form .. error
ivan wrote: > > hi there , > > I encoutred a problem with ASP.pm (ver.2.17) and multipart form what is > happening is that when I try to use "file" fields I get something like this > into the log > > [Mon Jul 9 23:20:22 2001] [error] [client 192.168.0.5] Invalid method in > request -7d11b8668d0668 > [Mon Jul 9 23:20:41 2001] [error] [client 192.168.0.5] Invalid method in > request -7d13c1268d0668 > [Mon Jul 9 23:21:41 2001] [error] [client 192.168.0.2] Invalid method in > request -7d17811a20 > > if the form is normal (w/o enctype="multipart/form-data" ) I'm getting > normally data into $Request.. nothing is crashing just I'm getting nothing > into $Request collection... > Can you get the ./site/eg/file_upload.asp example working from the distribution? If so, see what's different about your script. I believe I'm running the same Apache + modperl now too, and I have never seen the problem you report, Apache 1.3.20, mod_perl 1.25 BTW, from the error, it doesn't look like it has to do with Apache::ASP. Maybe someone from the modperl list will give you some better info specific to modperl. -- Josh _ Joshua Chamas Chamas Enterprises Inc. NodeWorks Founder Huntington Beach, CA USA http://www.nodeworks.com1-714-625-4051
ASP.pm and multipart/form .. error
hi there , I encoutred a problem with ASP.pm (ver.2.17) and multipart form what is happening is that when I try to use "file" fields I get something like this into the log [Mon Jul 9 23:20:22 2001] [error] [client 192.168.0.5] Invalid method in request -7d11b8668d0668 [Mon Jul 9 23:20:41 2001] [error] [client 192.168.0.5] Invalid method in request -7d13c1268d0668 [Mon Jul 9 23:21:41 2001] [error] [client 192.168.0.2] Invalid method in request -7d17811a20 if the form is normal (w/o enctype="multipart/form-data" ) I'm getting normally data into $Request.. nothing is crashing just I'm getting nothing into $Request collection... Additional info : CGI (3.2), Apache 1.3.20, mod_perl I think 1.25 i.e. www.apachetoolbox.com - ver 1.5.32 Can anyone confirm this !?! or tell me how can solve it ?! I'm continuing with the tests. :") = iVAN [EMAIL PROTECTED] =