There is an error in phpwiki.
To resolve, open lib/config.php and change this:
//$WikiNameRegexp = "(?<![A-Za-z0-9])([A-Z][a-z]+){2,}(?![A-Za-z0-9])";
// This should work for all ISO-8859-1 languages:
$WikiNameRegexp = "(?<![A-Za-z0-9Ôø?Ôø?-Ôø?-])([A-ZÔø?Ôø?-Ôø?[a-zÔø?Ôø?-]+){2,}(?![A-Za-z0-9Ôø?Ôø?-Ôø?-])";
to this:
$WikiNameRegexp = "(?<![A-Za-z0-9])([A-Z][a-z]+){2,}(?![A-Za-z0-9])";
// This should work for all ISO-8859-1 languages:
//$WikiNameRegexp = "(?<![A-Za-z0-9Ôø?Ôø?-Ôø?-])([A-ZÔø?Ôø?-Ôø?[a-zÔø?Ôø?-]+){2,}(?![A-Za-z0-9Ôø?Ôø?-Ôø?-])";
(uncomment first $WikiNameRegexp, comment out second $WikiNameRegexp).
Also, in the same file, change this:
$ScriptUrl = "";
// URL of admin.php e.g.
http://yoursite.com/phpwiki/admin.php// you can leave this empty - it will be calculated automatically
// if you fill in $ScriptUrl you *MUST* fill in $AdminUrl as well!
$AdminUrl = "";
to this:
$ScriptUrl = "
http://_YOURDOMAIN_/_YOUR_DIR_/index.php";
// URL of admin.php e.g.
http://yoursite.com/phpwiki/admin.php// you can leave this empty - it will be calculated automatically
// if you fill in $ScriptUrl you *MUST* fill in $AdminUrl as well!
$AdminUrl = "
http://_YOURDOMAIN_/_YOUR_DIR_/admin.php";
(It needs the urls filled in with your URLs is what I'm saying. Not blank.)