Questions tagged [ion-auth]

Ion Auth is a user library for CodeIgniter.

More information can be found here : https://github.com/benedmunds/CodeIgniter-Ion-Auth

249 questions
0
votes
1 answer

Codeigniter Ionauth generating wrong email in forgot password

When I click forget password, the link in the email is: http://10.50.2.124/ticket/auth/res=t_password/CHkp7v2VAxXe09IJx060refc9881e6bb20ab2013 insted of http://10.50.2.124/ticket/auth/reset_password/CHkp7v2VAxXe09IJx060refc9881e6bb20ab2013 The…
ankur140290
  • 640
  • 9
  • 25
0
votes
1 answer

Ion Auth profile page

I would like a step by step tutorial on how to create a profile page for ion auth codeigniter. When a logged in user clicks a link User profile link, it opens a user profile page and retrieves all the details of the user in a form so the user can…
0
votes
0 answers

ion-Auth codeigniter multi page registration form

I would like to create a registration form using Ion-Auth, but cannot seem to find any tutorial that is specific. After creating the form I would like the form to be a multi page / multiple step form which stores data in a session and passing on to…
0
votes
2 answers

Get returned value from function in condition in Ion Auth

In the auth/create_user function, there is the following code: if ($this->form_validation->run() == true && $this->ion_auth->register($username, $password, $email, $additional_data)) { This is when the new user is being created. the…
mike
  • 3
  • 1
0
votes
3 answers

ion_auth library syntax error, unexpected ','

i am using ion auth library in codeigniter when i integrated it and accessing from localhost it showing me error as mentioned in image. when i opened the library code line 141 the code is: $user = $this->where($identifier, 'ion_auth'),…
Imran Qamer
  • 2,253
  • 3
  • 29
  • 52
0
votes
2 answers

CodeIgniter: The configuration file ion_auth.php does not exist.

I have been using modules in my project is written with CodeIgniter. What I have Folders -->application -->cache -->config -->config.php (configuration file for auth, I copied the codes to config.php) -->controllers -->core …
Baris
  • 59
  • 1
  • 2
  • 14
0
votes
3 answers

How can I show user's first name to the user after the user logged in

I am using Ion_Auth and I have a problem. I have looked for the solution but there is no progress yet. As an example, there is a user and his name is Alex. When Alex is logged in the portal, He should see his name Alex and then if he clicked his…
Baris
  • 59
  • 1
  • 2
  • 14
0
votes
1 answer

How to redirect the user to another page after they have logged in with Ion Auth CodeIgniter

I have been working on admin panel of my project. I use Ion_Auth. I have a problem about redirecting after I have logged in on the system. If I change default_controller as "auth", everything is okey and after I logged in, I have been redirecting…
Baris
  • 59
  • 1
  • 2
  • 14
0
votes
2 answers

Troubleshooting codeigniter "Unable to locate the model you have specified..." error

I have been developing a web application using CodeIgniter on my Mac with no issues whatsoever. I am using the Ion Auth library for user authentication. I have no ported the site the production server and I am getting the following error: An Error…
whiteatom
  • 1,456
  • 2
  • 14
  • 33
0
votes
1 answer

Moving to new server, now CodeIgniter / Ion_Auth are not working

So I am moving to a new host server. One of my school projects that is in use on the old server must remain up with no downtime, so I am prepping the new server and moving over all the files associated. I've got the virtual host all set up and…
0
votes
2 answers

Ion Auth and Bootstrap Modals

I want to integrate Ion Auth into my bootstrap login which is a modal, I'm using Code Igniter. How do I call Ion Auth's Login method when the login button is clicked? If I use redirect won't it reload the page and remove the modal? Can I call the…
0
votes
1 answer

issu related with importing ion-auth sql file

When I tried to import ion_auth.postgre.sql file from ion auth folder. I got the following error. how to fix it. Error SQL query: CREATE TABLE "users"( "id"SERIAL NOT NULL , "ip_address"varchar( 15 ) , "username"varchar( 100 ) NOT NULL…
prajeesh
  • 3
  • 2
0
votes
1 answer

CodeIgniter and IonAuth 'If user is logged in'

I'm currently working on a CodeIgniter and IonAuth project and I have encountered this problem. Scenario: When I login, I can still access the login page. What I want to do is to remove this access because the user is already logged in. this is my…
yowza
  • 260
  • 2
  • 14
0
votes
1 answer

ion_aouth sets empty field TO when registering a new user

I have a localhost setup with CodeIgniter and ion_auth I'm trying to let users register their own accounts. The users are created correctly in the database, but the email is not being sent because the TO field is empty. I've tried to search in the…
Alejandro
  • 766
  • 9
  • 24
0
votes
1 answer

ion_auth is not working on host (CI 2.1.3 + MX HMVC + Ion_auth 2.5.2)

I developed a site using Codeigniter 2.1.3 + MX HMVC + ion_auth 2.5.2. its work fine in local server (xampp) but when i upload it to the hosting site its not working & surprisingly so error also. I was autoload ion_auth but now i remove ion_auth…
Mehedi Hasan
  • 61
  • 1
  • 10