Aug 13th, 2011, 3:00 PM
Hello Ben,
I think something is wrong with code on the index.php page:
if login page is the main page of any module, or custom page (defined in Pages module) page doesn't redirect properly and FF displays message: "The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
I think the problem is $g_pages[$login_page], but I don't know how to fix it. Could you help, master?
Thank you,
Lina
I think something is wrong with code on the index.php page:
Code:
// if this user is already logged in, redirect them to their specified login page
if (isset($_SESSION["ft"]["account"]) && isset($_SESSION["ft"]["account"]["is_logged_in"]) &&
isset($_SESSION["ft"]["account"]["login_page"]) && $_SESSION["ft"]["account"]["is_logged_in"] == 1)
{
$login_page = $_SESSION["ft"]["account"]["login_page"];
header("location: {$g_root_url}{$g_pages[$login_page]}");
if login page is the main page of any module, or custom page (defined in Pages module) page doesn't redirect properly and FF displays message: "The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
I think the problem is $g_pages[$login_page], but I don't know how to fix it. Could you help, master?
Thank you,
Lina