1
xoops 2.5.9
php 5.6
anonymous and admin users can view site. Other users get in infinite redirect loop. Firefox displays above error, IE times out.
Have tracked this down to /index.php:
if ($xoopsUser) {
if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), $xoopsUser->getGroups())) {
THIS --> redirect_header(XOOPS_URL, 1, _NOPERM, false);
}
$xoopsUserIsAdmin = $xoopsUser->isAdmin($xoopsModule->getVar('mid'));
} else {
if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), XOOPS_GROUP_ANONYMOUS)) {
redirect_header(XOOPS_URL . '/user.php', 1, _NOPERM);
}
}
How can I debug / fix this?
Thanks;
Bill