]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/attachment:_failed_to_get_filehandle.mdwn
web commit by http://ptecza.myopenid.com/: * Response
[ikiwiki.git] / doc / bugs / attachment:_failed_to_get_filehandle.mdwn
index fadc2f87f5556f77c471f2b181a0b0b8bcc8930c..ea5ee4a3bc1f5ef8545b2d5ce859fdab084c0422 100644 (file)
@@ -4,6 +4,21 @@ the error message like below:
 
     Błąd: failed to get filehandle
 
+> Can you do some debugging? If you edit attachment.pm line 136, to print
+> out what it did get, and show me what that yields, maybe I can figure
+> this out.
+
+       error("failed to get filehandle ($fh)");
+
+>> Sure. I've done the change and it seems that $fh variable is undefined:
+
+>>     Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/IkiWiki/Plugin/attachment.pm line 135.
+>>     failed to get filehandle ()
+
+> Also, what web server and version of perl is this? --[[Joey]]
+
+>> It's Perl 5.8.8-12 from Ubuntu Hardy. --[[Paweł|ptecza]]
+
 The same message I can see in the Apache log file. There is also
 following warning:
 
@@ -13,13 +28,6 @@ following warning:
 
 Is it Ikiwiki bug or my attachment plugin is misconfigured? --[[Paweł|ptecza]]
 
-> Joey, please fix the colon in page name of my report. Ikiwiki sets
-> "attachment:\_failed\_to\_get\_filehandle/" URL on "Bugs" page and
-> the report is not clickable in my Epiphany browser:
-
->     Firefox doesn't know how to open this address, because the protocol
->     (attachment) isn't associated with any program.
+> Joey, please fix the colon in page name of my report. [...]
 
-> I can only edit it :) Bad handling ':' character by Ikiwiki is probably
-> its another bug.
-> --[[Paweł|ptecza]]
+>> Moved to [[colon:problem]] --[[Joey]]