From fac6743cad2eaae33fc5bab79ee092ee6f7b9ffd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 8 Jul 2008 10:16:29 -0400 Subject: [PATCH] new thing to try --- doc/bugs/attachment:_failed_to_get_filehandle.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/bugs/attachment:_failed_to_get_filehandle.mdwn b/doc/bugs/attachment:_failed_to_get_filehandle.mdwn index 223363dd2..8fd5ab82a 100644 --- a/doc/bugs/attachment:_failed_to_get_filehandle.mdwn +++ b/doc/bugs/attachment:_failed_to_get_filehandle.mdwn @@ -19,6 +19,12 @@ the error message like below: >> It's Apache2 2.2.8-1ubuntu0.3 and Perl 5.8.8-12 from Ubuntu Hardy. --[[Paweł|ptecza]] +>>> Hmm, is your CGI.pm perhaps creating the attachment temp file, but +>>> not providing an open filehandle to it via the `upload` method? +>>> Change the debugging line to this: --[[Joey]] + + error("failed to get filehandle:$fh ; file:$filename ; is ref:".ref($q->param('attachment'))); + The same message I can see in the Apache log file. There is also following warning: