From 66f35e30dcea03c631a293e2341771277543b4ae Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 8 Jul 2008 11:25:30 -0400 Subject: another try at dealing with CGI.pm problem open the temp file if all attempts to get a fd fail --- doc/bugs/attachment:_failed_to_get_filehandle.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/bugs/attachment:_failed_to_get_filehandle.mdwn') diff --git a/doc/bugs/attachment:_failed_to_get_filehandle.mdwn b/doc/bugs/attachment:_failed_to_get_filehandle.mdwn index e5d4756fc..906d01e24 100644 --- a/doc/bugs/attachment:_failed_to_get_filehandle.mdwn +++ b/doc/bugs/attachment:_failed_to_get_filehandle.mdwn @@ -54,6 +54,15 @@ the error message like below: >>>>>> --[[Paweł|ptecza]] +>>>>>>> Well then, your CGI.pm is somehow not behaving as its documentation +>>>>>>> describes, in two ways: +>>>>>>> 1. `upload()` is not returning a reference to the filehandle +>>>>>>> 2. The filename returned by `param("attachment")` is not also +>>>>>>> a file handle. +>>>>>>> That seems very broken. I can try to work around it some more +>>>>>>> though. I've checked in a second try at dealing with things, can +>>>>>>> you try it? --[[Joey]] + The same message I can see in the Apache log file. There is also following warning: -- cgit v1.2.3