Help with sparks remember me - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Help with sparks remember me (/showthread.php?tid=59954) |
Help with sparks remember me - El Forum - 12-16-2013 [eluser]Unknown[/eluser] The cookies are stored in the database table correctly but I am getting an error when I close the browser and I try to get the private area with the reminder checkd. error: "Unable to locate the model you have specified: user". Any help would be appreciated. Thanks! This is the controller: Code: function index() Help with sparks remember me - El Forum - 12-16-2013 [eluser]Tpojka[/eluser] Message says that you don't have model User. Check again model name and if it is loaded before controller uses it. Help with sparks remember me - El Forum - 12-17-2013 [eluser]Unknown[/eluser] I got it now. I commented inside the rememberme.php the files $config['requiremodel'] = 'User' and $config['authfunc'] = 'User::authorize', so now everything is working fine!! Thanks! Help with sparks remember me - El Forum - 12-17-2013 [eluser]Tpojka[/eluser] Np. Glad you found it. |