![]() |
Freakauth_light and Modular Extensions - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Freakauth_light and Modular Extensions (/showthread.php?tid=11773) |
Freakauth_light and Modular Extensions - El Forum - 09-22-2008 [eluser]wiredesignz[/eluser] I have successfully installed Freakauth_light with ME5.1 (Should be the same with ME4.2) Note: No allowance has been made for installing the freakauth example files. Copy all freakauth files except controllers into their respective applicaton/directories. Move models in FreakAuth_light subdirectory up one level into models directory. Create a freakauth module, add all of the controllers to freakauth/controllers/, the admin subdirectory is no longer used. Configure routes: Code: $route['auth(.*)'] = 'freakauth/auth$1'; Autoload freakauth dependencies: Code: $autoload['libraries'] = array('database', 'validation', 'fal_validation', 'freakauth_light'); I think thats about all there is to do, if I have missed something or you have other issues please let me know. Freakauth_light and Modular Extensions - El Forum - 09-23-2008 [eluser]otn3m3m[/eluser] Hi, Do we ignore the config files suffix with _demo? Thanks Freakauth_light and Modular Extensions - El Forum - 09-23-2008 [eluser]otn3m3m[/eluser] I tried ignoring the _demo config files and modified the files as stated in your example. When I navigate to installer page is says that DB_session OFF. How do I turn it on? Thanks Freakauth_light and Modular Extensions - El Forum - 09-23-2008 [eluser]wiredesignz[/eluser] Read the FreakAuth installation guide. Freakauth_light and Modular Extensions - El Forum - 09-23-2008 [eluser]otn3m3m[/eluser] okay, so i followed the install guide. I copied the config files from freakAuth with the suffix _demo. I deleted the original files in the config folder on my local machine: - system/application/config.php - system/application/autoload.php and renamed the _demo to the appropriate file name. I then followed your guide for the changes to be made to the config and autoload files. I deviated from the install guide in that i left the original routes.php file and instead of using the _demo file i used your modification to the original routes file. The install page says everything is working fine. But when i click on a tab in the installer page like login i get routed to the index.php page. any help would be appreciated. thanks Freakauth_light and Modular Extensions - El Forum - 09-23-2008 [eluser]otn3m3m[/eluser] so when i manage to logout. I can view the login page. unfortuntely when i try to login i get an error. Undefined property: Auth::$UserModel Filename: libraries/FAL_validation.php Freakauth_light and Modular Extensions - El Forum - 09-23-2008 [eluser]otn3m3m[/eluser] the line of code in the library that the error points to line 70 : $query = $this->CI->UserModel->getUserByUsername($username_login); i moved freakauth models up one level into application/models Freakauth_light and Modular Extensions - El Forum - 10-02-2008 [eluser]Tony Nash[/eluser] I had the same problem. Has anyone found a solutions for this issue? @wiredesignz, How did you manage to get away with this... Freakauth_light and Modular Extensions - El Forum - 10-03-2008 [eluser]Tony Nash[/eluser] @wiredesignz ME5.1.x seems awesome! However, I desperately need Freakauth_ligh with my project too. I am having a very hard time merging these two wonderful libs together. ME5.1.31 working fine when its along and when I follow above steps, I got whole page of errors as bellow. Will you be kind enough to tell us how you able to manage to add FreakAuth with ME5.1.31 successfully? See the error bellow, it looks like an error on ME Loader? or is it actually FreakAuth? Code: A PHP Error was encountered This error appear after I moved "usertemp.php" from app../model/FreakAuth_light to app../model/usertemp.php. before that it was as bellow. Code: An Error Was Encountered Freakauth_light and Modular Extensions - El Forum - 10-03-2008 [eluser]wiredesignz[/eluser] The error is from CI Loader not ME. You only have one error there, the others are a byproduct of the first error. Code: Fatal error: Call to a member function _assign_libraries() on a non-object... CI Loader cannot find the usertemp model, Check your filenames and locations again. EDIT: You may have to put the usertemp model back into the original subdirectory and try again. |