Page 2 of 2
Re: Admin interface redirect loop
Posted: Thu Mar 01, 2012 4:36 pm
by Dr.CSS
You might try going into your user preferences, once you get logged in, and set the homepage to none...
Re: Admin interface redirect loop
Posted: Fri Mar 02, 2012 1:37 am
by drmikecrowe
Homepage is already none. That's not the issue.
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
If user_id==0, why are we going forward as if there is a user?
Re: Admin interface redirect loop
Posted: Fri Mar 02, 2012 2:45 am
by Dr.CSS
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...
Re: Admin interface redirect loop
Posted: Wed Mar 14, 2012 12:25 am
by drmikecrowe
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.