regenerated index and now can't login msgs appear in footer

was using our old index.php files and decided to regenerate them and now the toast messages are appearing in the footer area (embedded not over).

  • cleared all cookies
  • rebooted
  • tried different browsers
  • incognito mode
  • multiple machines same issue

This page isn’t working192.168.0.22 redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS


if you goto localhost\index.php then it appears the login page is correct the text boxes appear in the center of the page, but if you trying localhost\login.php the fields are full width and the toast messages appear as part of the footer
had to hack logout.php as well to terminate to index.php instead

// If session expired, show expired message
if (Get(“expired”) == “1”)
$this->terminate(“login.php?expired=1”); // Go to login page
else
$this->terminate(“index.php”); // Go to login page


reverted back to the older style index and logout page code.

what’s going on ???

index.php contains information about which page the user goes to after login. If the user does not have permission, you have a loop:

index --(no permission to any page)–> login --(already logged in)–> index …

You better double check your permission and generate all files again instead of just index.php.