From: Joey Hess <joey@kodama.kitenet.net>
Date: Tue, 8 Jul 2008 14:16:29 +0000 (-0400)
Subject: new thing to try
X-Git-Tag: 2.53~51
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fac6743cad2eaae33fc5bab79ee092ee6f7b9ffd;p=ikiwiki.git

new thing to try
---

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: