4
Okay, so I have been working on this all day and my modules work, but members cannot login, The only way I can login is by logging in through the update folder (which I removed and reinstalled so I could relogin.
I turned on the inline error message and this is what I am getting:
"Notice: Undefined offset: 2 in file /include/common.php line 298"
Here is line 298 - 311
$xoopsModule =& $module_handler->getByDirname($url_arr[2]);
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();
}
$moduleperm_handler =& xoops_gethandler('groupperm');
if ($xoopsUser) {
if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), $xoopsUser->getGroups())) {
redirect_header(XOOPS_URL, 1, _NOPERM, false);
exit();
}
Any ideas?