mason component to abort with the error "End of file found."
Subsequent uploads handled by this httpd process are handled normally.
The error does not seem related to the browser; I have been testing
with various firefox 3 betas, including RC1, firefox 2.0.14, safari
3.1.1, opera 9.24,
mason component to abort with the error "End of file found."
Subsequent uploads handled by this httpd process are handled normally.
The error does not seem related to the browser; I have been testing
with various firefox 3 betas, including RC1, firefox 2.0.14, safari
3.1.1, opera 9.24,
mason component to abort with the error "End of file found."
Subsequent uploads handled by this httpd process are handled normally.
The error does not seem related to the browser; I have been testing
with various firefox 3 betas, including RC1, firefox 2.0.14, safari
3.1.1, opera 9.24,
Hi Joe,
Joe Schaefer wrote:
Anything here looks suspicious?
Yes. Your code behaves as if CGI.pm was being used by Mason instead
of apreq. When that happens, CGI.pm steals the post data, and
apreq sees nothing but an "End of File" situation.
If I were you, I'd double-check how you conf
Raymond Wan <[EMAIL PROTECTED]> writes:
> For some reason, I am doubting my own HTML skills...or perhaps I've
> been staring at this for so long, the screen is getting blurry :-) .
> Anything here looks suspicious?
Yes. Your code behaves as if CGI.pm was being used by Mason instead
of apreq. Wh
;filename');
%>
There's some Mason in there, but basically, both $filename and $keyword
print out ok (well, the filename), so it doesn't seem like any part of
the form is "lost". "scalar (@params)" is 0, though...which makes me
think I'm doing somethin
Raymond Wan <[EMAIL PROTECTED]> writes:
> apreq2 is version 2.08.4 on Debian stable (testing seems to have a
> 2.08.5...).
Hmm, that's the latest version. I don't think debian has applied any
local mods to the codebase.
> Any suggestions on how I can resolve the problem? Could there be
> some
Hi Joe,
Joe Schaefer wrote:
with a form using the "post" method and an enctype of
"multipart/form-data".
In my browser, I am getting a single message: "End of file found".
That is, the single line.
What's happening is that $req->upload calls $r
form using the "post" method and an enctype of
> "multipart/form-data".
>
> In my browser, I am getting a single message: "End of file found".
> That is, the single line.
What's happening is that $req->upload calls $req->body, and that is
die'
rm using the "post" method and an enctype of "multipart/form-data".
In my browser, I am getting a single message: "End of file found". That
is, the single line. Other print's that I had on the page for debugging
are not printed. There is nothing recorded in e
cfaust-dougot wrote:
>>Argh you're right - since it was created in the global hash I thought it
>>was part of the globals and didn't look closely enough.
Yep, I was just making sure.. That makes it even more of a mystery
though, don't you think?
Well, although the CGI object is not a global
pm's "escape" and "unescape" methods I won't need
CGI.pm at all..
Thanks!
>
>
> From: Fred Moyer [mailto:[EMAIL PROTECTED]
> Sent: Thu 12/7/2006 2:33 AM
> To: cfaust-dougot
> Cc: modperl@perl.apache.org
> Subject: Re: Apache2::Up
use of CGI.pm completely, is there no way to get them to work together??
Thanks
-Chris
From: Fred Moyer [mailto:[EMAIL PROTECTED]
Sent: Thu 12/7/2006 2:33 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache2::Upload and End of file found erro
there no way to
get them to work together??
Thanks
-Chris
From: Fred Moyer [mailto:[EMAIL PROTECTED]
Sent: Thu 12/7/2006 2:33 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache2::Upload and End of file found error Part 2
cfaust-dougot wrot
e "my $CGI = new CGI();" in the sub "init_global_vals" then the update works fine, if its uncommented then the server error of "End of file found" happens.
http://208.3.90.212/test.pm.txt
I have no idea how one relates to the other, any ideas?
I'm not sure w
();" in the sub "init_global_vals" then the update works fine, if its
uncommented then the server error of "End of file found" happens.
http://208.3.90.212/test.pm.txt
I have no idea how one relates to the other, any ideas?
Thanks
-Chris
Hi,
I'm trying to use Apache2::Upload as shown in the examples and the only thing I
get is "End of file found" in the error log.
I've found quite a few messages on the subject, but I'm not using Mason and I'm
using libapreq2.0.7.1.
I've tried the fh and
#x27;';
if($fitxer){
use Apache2::Upload;
my $req = Apache2::Request->new($r);
my $upload = $req->upload("file");
my $size = $upload->size;
$upload->slurp($content);
}
But when I try it in the browser it reply me "End of file found".
I rea
ent = '';
if($fitxer){
use Apache2::Upload;
my $req = Apache2::Request->new($r);
my $upload = $req->upload("file");
my $size = $upload->size;
$upload->slurp($content);
}
But when I try it in the browser it reply me "End of file f
On Oct 11, 2005, at 9:00 PM, Joe Schaefer wrote:Charlton Wilbur <[EMAIL PROTECTED]> writes: As soon as I attempt to call Apache2::Request->upload, all other execution appears to stop and the browser displays only "End of file found". I just patched apreq's trunk (which w
Charlton Wilbur <[EMAIL PROTECTED]> writes:
> As soon as I attempt to call Apache2::Request->upload, all other
> execution appears to stop and the browser displays only "End of file
> found".
I just patched apreq's trunk (which will be part of 2.07 when re
that. Everything works as I expect under mod_perl 1; however, under
mod_perl 2, there is a problem.
As soon as I attempt to call Apache2::Request->upload, all other
execution appears to stop and the browser displays only "End of file
found".
I found this thread in the
22 matches
Mail list logo