![]() |
having trouble implimenting ion auth into my web application. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: having trouble implimenting ion auth into my web application. (/showthread.php?tid=53505) |
having trouble implimenting ion auth into my web application. - El Forum - 07-26-2012 [eluser]bradyrose[/eluser] Hello, i am having some problems getting ion auth to function in my web application, you can see the errors i am receiving here: http://www.cashforbtc.com/index.php/pages/view/login2 If someone does not immediately know what mistake i am making, I will update this thread with my controller/ view, etc. I'm pretty sure im just missing something. having trouble implimenting ion auth into my web application. - El Forum - 07-26-2012 [eluser]solid9[/eluser] The problem is very basic. You forgot to pass the variables into array through view properly. having trouble implimenting ion auth into my web application. - El Forum - 07-26-2012 [eluser]bradyrose[/eluser] here is what i have in my view, I guessed that this is likely something simple, but i am still uncertain how I would go about passing such variables. Code: <?php having trouble implimenting ion auth into my web application. - El Forum - 07-26-2012 [eluser]bradyrose[/eluser] this is my pages controller, also amoung my controllers is the one you install with ion auth: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); having trouble implimenting ion auth into my web application. - El Forum - 07-26-2012 [eluser]solid9[/eluser] In your controller Pages, Index Method do this, Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); or you can try like this, Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); It's untested so just post if you encounter error. |