aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/attachment:_failed_to_get_filehandle.mdwn
blob: cbce1bea9b11091b5e33262a02fe9f3490f8cad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
I can't add any attachment to my wiki. When I select file using "Browse"
button and click "Upload Attachment", then `ikiwiki.cgi` file displays
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)");

> Also, what web server and version of perl is this? --[[Joey]]

The same message I can see in the Apache log file. There is also
following warning:

    Use of uninitialized value in length at /usr/share/perl5/IkiWiki/Plugin/attachment.pm line 36.

> This is unrelated, I've fixed the warning message. --[[Joey]]

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.

> I can only edit it :) Bad handling ':' character by Ikiwiki is probably
> its another bug.
> --[[Paweł|ptecza]]