OK took a quick peek at the filem and based on your response I think I know what you need to do...
In the cases where you replaced
$_SERVER
with
$mosConfig_absolute_path
AND the change was inside a function (such as the forumPath function... you need to make sure and set $mosConfig_absolute_path as global...
Looking at the patch file for phpbbconnector.php, the forumPath() function would look like this (NOTE this change may be needed in other places as well...)
[code:1] function forumPath() {
global $_SERVER, $mosConfig_absolute_path;
// ask server where the root for the website is located at
$pathparts = explode("/",$mosConfig_absolute_path);
$lastpart = count($pathparts);
// add forum to end of array
$pathparts[$lastpart] = $this->forumDirectory();
//rebuild string
$phpBBforumPath = implode("/", $pathparts);
//following variable defined for phpBB includes
return $phpBBforumPath."/";
}[/code:1]
Hope this helps,
Greg