Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]MrTomTom[/eluser]
[quote author="EyeAmN8" date="1392329066"]First off I want to say thank you for the great work!
I have flexi auth running on 2.1.4 with the exception of the login area(s).

When I try to login in it says
Quote:Input error: k: Format of site key was invalid

I have it logging on "1" and this is what it logs:

Code:
ERROR - 2014-02-13 22:56:49 --> Could not find the language line "You must login as an admin to access this area."
ERROR - 2014-02-13 22:58:45 --> Could not find the language line "You must login to access this area."

Any idea of what I need to do to get this working?

Thanks![/quote]


From memory this is what worked for me:

on line 55 of application/languages/english/flexi_auth_lang.php ad the following new line:

Code:
$lang['admin_level_required']  = 'You must login as an admin to access this area.';

Then search for all instances of:

Code:
$this->set_error_message('You must login as an admin to access this area.', TRUE);

And comment out and replace with:

Code:
$this->set_error_message('admin_level_required', 'config');





Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 02-15-2014, 02:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB