01017: CGI Error - skin
Description: PmWiki's skin does not work!
The error code is in pmwiki.php file, line 74: change from old definition ...
$ScriptUrl = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
to new definition ...
$ScriptUrl = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
For a huge number of installations, like on CleanUrls or Apache MultiViews, PmWiki needs 'SCRIPT_NAME' and not 'PHP_SELF' for the script url. In case it doesn't work for you, please add the line of code you suggest in
local/config.php and don't modify pmwiki.php -- this way it should keep working even if you upgrade to a new version. --Petko October 03, 2009, at 06:55 AM