EllisLab text mark
Advanced Search
     
Ion Auth Login Not working - keeps refreshing
Posted: 24 August 2012 11:23 PM   [ Ignore ]
Joined: 2012-07-30
1 posts

Hi all

Fairly new to CodeIgniter and Ion Auth, brand new to the forum smile

I’ve been working on a site for a couple of weeks now but after creating a new user, I’ve not been able to log in with that email address/password.
There are no error messages displayed, the page just keeps refreshing every 0.5 second or so after clicking ‘Login’ and just keeps refreshing constantly like this until I kill the page.
I have to actually restart the PC to be able to log in again as admin.
Shutting browser, restarting Xampp makes no difference.

I’ve just set up a new site on localhost using Xampp and have just added ion_auth to the codeigniter structure. Thinking I’ve gone wrong somewhere in my previous code I’ve been very careful to note the steps I’ve taken so far…

1.  Added 'ion_auth' to config/autoload libraries
2.  Added username
password and database to config/database
3.  Added encryption key to config
/config
4.  Changed base_url to 
'http://localhost/windfarm/' in config/config
5.  Deleted welcome_message from views
6.  Changed default_controller from welcome to 
'auth' in config/routes
7.  Imported ion_auth
.sql into phpmyadmin on the windfarm table 

This is ALL I’ve done since adding ion_auth to a new CI download. I’ve changed nothing but when clicking Login with my newly registered user (which I created when logged in fine as admin), it still just keeps refreshing the page.
On Chrome/Firefox/IE

I have tried looking through this forum, and googling but have not yet seen anyone with the same problem.
Is anyone able to offer a suggestion where I’m going wrong so soon??

Many thanks

EDIT: newly created user gets added to DB no problem

 
Posted: 25 August 2012 05:38 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2012-06-17
3 posts

I am also facing a similar kind of issue. when a users with member group logs in the ion_auth displays a blank page and keeps on refreshing although the users with admin rights are able to login and redirect to a page which lists a table of all users.

Is there any way i can check the group type and redirect users accordingly if yes please tell me how do i do it…

 
Posted: 26 September 2012 09:13 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2012-09-26
1 posts

I also have the exact problem i try to google it but could not find anything answer to it please help

 
Posted: 11 October 2012 11:07 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2012-10-11
1 posts

I got caught out by not setting the Active field to ‘1’...