ikiwiki/doc/forum/Error:_bad_page_name.mdwn

29 lines
1.2 KiB
Plaintext
Raw Normal View History

2010-01-23 20:34:31 +01:00
I'm trying to use ikiwiki for the first time. In the start, I had problems
with installing the package, because I don't have a root account on my
server.
2010-01-23 20:03:32 +01:00
2010-01-23 20:34:31 +01:00
When I solved this, I finally set up my wiki, but whenever I try to edit a
page, I get an error: “Error: bad page name”.
2010-01-23 20:03:32 +01:00
2010-01-23 20:34:31 +01:00
What am I doing wrong? The wiki is at
<http://atrey.karlin.mff.cuni.cz/~onderka/wiki/>, the setupfile I used at
<http://atrey.karlin.mff.cuni.cz/~onderka/wiki/ikiwiki.setup>.
> This means that one of the checks that ikiwiki uses to prevent
> editing files with strange or insecure names has fired incorrectly.
> Your setup file seems fine.
> We can figure out what is going wrong through a series of tests:
>
> * Test if your perl has a problem with matching alphanumerics:
> `perl -le 'print int "index"=~/^([-[:alnum:]+\/.:_]+)$/'`
> * Check if something is breaking pruning of disallowed files:
> `perl -le 'use IkiWiki; %config=IkiWiki::defaultconfig(); print ! IkiWiki::file_pruned("index")'`
> --[[Joey]]
2010-01-23 20:55:06 +01:00
>>Both seem to run fine:
onderka@atrey:~$ perl -le 'print int "index"=~/^([-[:alnum:]+\/.:_]+)$/'
1
onderka@atrey:~$ perl -le 'use IkiWiki; %config=IkiWiki::defaultconfig(); print ! IkiWiki::file_pruned("index")'
1