![]() |
No response from ion-auth functions - 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: No response from ion-auth functions (/showthread.php?tid=43961) |
No response from ion-auth functions - El Forum - 07-28-2011 [eluser]bobdobbs[/eluser] I have installed ion-auth successfully. I want to test it's functions before I start using it. The following code is embedded in a view. When the view load, I can see "Testing now...", and "test done". But, none of the logic anywhere in between returns anything. What am I missing? Code: <?php No response from ion-auth functions - El Forum - 07-28-2011 [eluser]ghprod[/eluser] wew .. so strange .. btw make sure you've load ion auth library, setup database, load database library ![]() regards No response from ion-auth functions - El Forum - 07-29-2011 [eluser]bobdobbs[/eluser] [quote author="ghprod" date="1311924155"]wew .. so strange .. btw make sure you've load ion auth library, setup database, load database library ![]() regards[/quote] As far as I can tell, all of those conditions are satisfied. I've installed the ion_auth libraries. I've installed the ion_auth tables in the database called by the application. My database.config successfully access this database. Also, if any one of these condition hasn't been met, then shouldn't I get an error message? Like, I'd expect at least an error message on the page, if not in the apache error log file. No response from ion-auth functions - El Forum - 07-29-2011 [eluser]DirkZz[/eluser] I think you have to auto-load or atleast load the library. No response from ion-auth functions - El Forum - 07-29-2011 [eluser]bobdobbs[/eluser] [quote author="DirkZz" date="1311944228"]I think you have to auto-load or atleast load the library.[/quote] I have autoloaded the library. I'm pretty sure that if I hadn't loaded the library, I'd get errors. No response from ion-auth functions - El Forum - 07-29-2011 [eluser]ghprod[/eluser] Ah i got it ... on 2nd condition you forgot to "echo" ![]() i hope its fix ur probs ![]() No response from ion-auth functions - El Forum - 07-29-2011 [eluser]bobdobbs[/eluser] [quote author="ghprod" date="1311948037"]Ah i got it ... on 2nd condition you forgot to "echo" ![]() i hope its fix ur probs ![]() hehe... It does fix the problem indeed. Thanks ![]() No response from ion-auth functions - El Forum - 07-29-2011 [eluser]ghprod[/eluser] great ... than have a nice day ![]() |