Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]Ben Edmunds[/eluser]
Post the Ion Auth library constructor, after you changed the paths. And a screenshot of your directory structure.
[eluser]Wayne Smallman[/eluser]
[quote author="Ben Edmunds" date="1299031750"]Post the Ion Auth library constructor, after you changed the paths. And a screenshot of your directory structure.[/quote]I've attached a screen shot to my previous post, but I've had to shrink the whole thing, because of the attachment size limitations. Here's the constructor for your library file: Code: public function __construct() {
[eluser]Wayne Smallman[/eluser]
Hi Ben, any thoughts on the details I've given you in the previous two posts?
[eluser]Zawardo[/eluser]
I have troubles using authentication in postgre and keeping the user tables into a schema (not public): Code: $config['tables']['groups'] = 'provincia.webapp_groups'; when i try lo login i call the get_users methond from the model Code: public function get_users($group=false, $limit=NULL, $offset=NULL) but the first table is mis-escaped: Code: ERROR: syntax error at or near "".*, "" LINE 1: SELECT "provincia".webapp_users".*, "provincia"."webapp_grou... ^ as you can see the first istance of the user table is: "provincia".webapp_users", missing a double quote. The next occurencies do not have the problem. I'm unable to solve this myself (i started codeigniter yesterday), can you help me? Thank you!!
[eluser]Edmundas KondraĊĦovas[/eluser]
Hi there, very neat Auth system. However, I noticed that you cannot change the name of the library when it's being loaded. Code: $this->load->library('ion_auth', '', 'auth'); You can't do that due to requests to the library itself from the model (I specifically got some errors with $_extra_where variable, which is located in the library, but is being called by the model in numerous places). This is not a major problem by any means, but I thought I should report this. With regards, Edmundas
[eluser]RJ[/eluser]
@Wayne - did you get that figured out? I'm having the same problem with Reactor/Ion/ME. The configuration file development/users/ion_auth.php and users/ion_auth.php do not exist.
[eluser]Wayne Smallman[/eluser]
[quote author="bullspit" date="1299472782"]@Wayne - did you get that figured out?[/quote] No, I'm still awaiting a response from Ben. I've looked at some of the example projects that people have suggested, but I just cannot make any sense of them, such is the dense structure of their layout and the extremely complex interlinking going on. All very, very frustrating.
[eluser]wiredesignz[/eluser]
I have just run the Ion_Auth application with Modular Extensions HMVC successfully. Create a module named "auth" add the entire Ion_Auth application into the module. Move all of the views from the modules/auth/views/auth sub-directory up one level into modules/auth/views. Call the application URL, http://domain.tld/index.php/auth and then login. It works fine. EDIT: Removed the word "demo" to reduce ambiguity.
[eluser]Wayne Smallman[/eluser]
[quote author="wiredesignz" date="1299523171"]I have just run the Ion_Auth demo with Modular Extensions HMVC successfully. Create a module named "auth" add the entire Ion_Auth demo application into the module. Move all of the views from the modules/auth/views/auth sub-directory up one level into modules/auth/views. Call the application URL, http://domain.tld/index.php/auth and then login. It works fine.[/quote]What demo application are you referring to, or do you mean the actual Ion Auth download?
[eluser]wiredesignz[/eluser]
Yes the application that is in the Ion_Auth download. |
Welcome Guest, Not a member yet? Register Sign In |