8
include common has
http://'.$HTTP_SERVER_VARS['HTTP_HOST'].$xoopsRequestUri));
Code include/common.php
if (file_exists('./xoops_version.php')) {
$url_arr = explode('/', str_replace(str_replace('https://', 'http://', XOOPS_URL.'/modules/'), '', 'http://'.$HTTP_SERVER_VARS['HTTP_HOST'].$xoopsRequestUri));
$module_handler =& xoops_gethandler('module');
$xoopsModule =& $module_handler->getByDirname($url_arr[0]);
unset($url_arr);
if (!$xoopsModule || !$xoopsModule->getVar('isactive')) {
include_once XOOPS_ROOT_PATH."/header.php";
echo "
"._MODULENOEXIST."
";
include_once XOOPS_ROOT_PATH."/footer.php";
exit();
}
A shot in the dark
Try changing this
http://'.$HTTP_SERVER_VARS['HTTP_HOST'].$xoopsRequestUri));
to this
http://'.$HTTP_SERVER_VARS[''REQUEST_URI''].$xoopsRequestUri));
or this if that does not work
http://'.$HTTP_SERVER_VARS['''PHP_SELF''].$xoopsRequestUri));
And the same in include/cp_header.php around line 8
A shot in the dark see this post here:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=15133&forum=7#forumpost73345I just play with coding, but perhaps a core developer will catch this and put us all right..