Welcome Guest, Not a member yet? Register   Sign In
Authentication + authorisation in Codeigniter 3
#1

Hello,
can you help me to find out how to make authentication and authorisation in Codeigniter 3? I found Tank auth. But it seems it is not compatible with newest CI. It sets item in config which does not exists in my config file and throws me an error: "Unable to load the requested language file: language/slovak/db_lang.php" ...
Is there a good one which can manage roles, has a good documentation and is easy to install?
Reply
#2

OK I fix that error with language.
Now it throws an error: "Unknown column 'data' in 'field list'"
It seems it is the problem with session library which expects user_data field in ci_sessions table. That table comes from Tank auth download. How can I fix that? Is it possible to simple change the field name to user_data?
Reply
#3

(This post was last modified: 09-02-2015, 01:48 PM by rtorralba.)

(09-02-2015, 12:11 PM)Camo Wrote: Hello,
can you help me to find out how to make authentication and authorisation in Codeigniter 3? I found Tank auth. But it seems it is not compatible with newest CI. It sets item in config which does not exists in my config file and throws me an error: "Unable to load the requested language file: language/slovak/db_lang.php" ...
Is there a good one which can manage roles, has a good documentation and is easy to install?

Try with the following library, I think is good and easy to use:

https://github.com/benedmunds/CodeIgniter-Ion-Auth
Greetings.
Reply
#4

Thanks I will try it.

But what about that Tank auth? Does it work? I fix that error with language from first post. Now it throws me an error "Unknown column 'data' in 'field list'" It seems that session library can not find data field in ci_session table. My ci_session table comes from Tank auth. Is there a way to fix that?

PS: Dear admin! This security politics is really sick! Where are my previous posts? How can I communicate with other users?!
Reply
#5

See https://github.com/rdlabo/Tank_Auth_CI3

But I don't know Tank_Auth is secure or not.
Reply
#6

(This post was last modified: 09-02-2015, 04:06 PM by Camo.)

What do you use in your projects? That https://github.com/benedmunds/CodeIgniter-Ion-Auth  looks really good. I don't know which to choose.
Reply
#7

Try http://community-auth.com/

It is optimized for CodeIgniter 3
It has documentation.
Reply
#8

(09-02-2015, 06:28 PM)solidcodes Wrote: Try http://community-auth.com/

It is optimized for CodeIgniter 3
It has documentation.

Ooo, that looks like a really good auth system.

I have recently finished doing my own one, but it is nowhere near as good as this one.

Hopefully I will remember that resource next time I need to do one. Thanks for the link.

Paul.
Reply
#9

(This post was last modified: 09-03-2015, 07:48 PM by Camo.)

Thank you all.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB