When Installing on a Zeus server, Wiki does not
behave as expected.
Symptoms:
If index.php config is correct, no errors or warnings
are generated. Themes work correctly, and links
are generated correctly, but:
All links end up at the HomePage.
Reason:
As far as I can determine (and I may be wrong but
WFM), Wiki depends upon the availablilty of the
Apache HTTP_SEVER_VARS array in the Request
class for global var settings.
On Zeus this is not available, instead it is the
_ENV array.
Solution:
lib/Request.php line 35:
replace -
$vars = &$GLOBALS['HTTP_SERVER_VARS'];
with -
// If not running on Apache check for different env
vars.
// For Zeus:
if ($GLOBALS['_ENV']){
$vars = &$GLOBALS['_ENV'];
} else {
$vars = &$GLOBALS['HTTP_SERVER_VARS'];
}
This may need adding to for other server setups.
Metafeather
Logged In: YES
user_id=13755
Fixed in current CVS. Thanks.
_SERVER is module specific.
For CGI or other servers _ENV is the standard.