Community Auth Install |
I have installed comminity auth following this http://community-auth.com/documentation/installation
I was able to successfully create a user. But when I go to the login url, I get the standard ci 404 error. Where should I look to troubleshoot? http://nbcis.betaclub.org/v2/examples Thanks, Jay EDIT: When I visit the url http://nbcis.betaclub.org/v2/examples it redirects me to http://nbcis.betaclub.org/v2/index.php/l...t=examples I am wondering if my routes file is not correct. But it seems pretty straight forward.. PHP Code: $route['default_controller'] = 'welcome'; (10-12-2015, 07:15 AM)[email protected] Wrote: I have installed comminity auth following this http://community-auth.com/documentation/installation I am wondering if I have something wrong in my routes file. The above URL will redirect to http://nbcis.betaclub.org/v2/index.php/l...t=examples PHP Code: $route['default_controller'] = 'welcome'; (10-12-2015, 11:52 AM)[email protected] Wrote:LOGIN_PAGE should not have quotes around it, because it is a constant. See how it is in the docs.(10-12-2015, 07:15 AM)[email protected] Wrote: I have installed comminity auth following this http://community-auth.com/documentation/installation
Thanks! I changed it and still get 404 error hitting http://nbcis.betaclub.org/v2/examples which redirects to http://nbcis.betaclub.org/v2/login?redirect=examples
routes.php PHP Code: $route[LOGIN_PAGE] = '/v2/examples/login'; Must be something unique to my environment. In Examples.php controller if I comment out line 219 PHP Code: Then I can load directly http://nbcis.betaclub.org/v2/examples/login
But you really don't want to load examples/login, because the login page is always hidden behind a route. This makes it easy for you to change the route to your login page, which can be beneficial in a number of circumstances.
|
Welcome Guest, Not a member yet? Register Sign In |