2
We are looking into a solution for this problem.
I have a nagging suspicion that I have made a booger in the code that detects whether the XOOPS_URL constant is relative or absolute.
If you are up for this, could you try changing:
if (!strpos(XOOPS_URL, "http")) {
//Relative URL used, calculate absolute URL
$protocol = strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], "/", 0)));
define("XOOPS_ABS_URL", $protocol."://".$_SERVER['HTTP_HOST'].XOOPS_URL);
}
else {
define("XOOPS_ABS_URL", XOOPS_URL);
}
to
[color=ff0000]if (!(strpos(XOOPS_URL, "http") == 0)) {[/color]
//Relative URL used, calculate absolute URL
$protocol = strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], "/", 0)));
define("XOOPS_ABS_URL", $protocol."://".$_SERVER['HTTP_HOST'].XOOPS_URL);
}
else {
define("XOOPS_ABS_URL", XOOPS_URL);
}
in include/common.php around the middle of the file?
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."
Cusix Software