I am using php 4.0.6 compiled as a cgi executeable
rather than a loadable module. I know this affects
certain php global variables and wonder if this is the
case with the wiki error I am receiving.
I repaired the problem by editing lib/config.php as
161 //changed below for php as a cgi compatibilityi
162 if (!defined('SCRIPT_NAME'))
164 $tmp = $GLOBALS["REQUEST_URI"];
165 //split of URL from post vars
166 $pos = strpos ($tmp, "?");
167 if ($pos === false)
176 //end of chnages by Tim
Probably more elegant ways to do this but it seems to
work ok. Can you patch your cvs copy with the above
Log in to post a comment.