Admin interface redirect loop
Re: Admin interface redirect loop
You might try going into your user preferences, once you get logged in, and set the homepage to none...
-
- Forum Members
- Posts: 23
- Joined: Sun Sep 20, 2009 1:22 pm
Re: Admin interface redirect loop
Homepage is already none. That's not the issue.
I go back to my earlier post: This SQL looks like something isn't right:
If user_id==0, why are we going forward as if there is a user?
I go back to my earlier post: This SQL looks like something isn't right:
Code: Select all
SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = 0 AND ug.group_id = 1 LIMIT 1
Re: Admin interface redirect loop
Even if it is set to none when you look in user preferences it may still mess with you, I have direct experience with this, home page was set to none, every time I logged in it sent me back to the login page where I hit submit again and again and it finally let me in, I went to user prefs. set it to none hit submit and never had a problem logging in after that...
-
- Forum Members
- Posts: 23
- Joined: Sun Sep 20, 2009 1:22 pm
Re: Admin interface redirect loop
OK, I've found what solves this for me. In /lib/page.functions.php, line ~79, I added this:
code removed by moderator.
The issue I found was it kept redirecting to login.php. There's probably a more elegant solution, but this got me going.
code removed by moderator.
The issue I found was it kept redirecting to login.php. There's probably a more elegant solution, but this got me going.